From f622d8e2e22fbf39800a9c0d083b78c0e75760b7 Mon Sep 17 00:00:00 2001
From: Steve Riesenberg <5248162+sjohnr@users.noreply.github.com>
Date: Thu, 13 Jun 2024 15:52:55 -0500
Subject: [PATCH] Polish gh-15235
---
.../servlet/authentication/passwords/ldap.adoc | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc b/docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc
index ba52240a308..9364dbc8cdf 100644
--- a/docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc
+++ b/docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc
@@ -13,34 +13,34 @@ It uses separate strategy interfaces for authentication and role retrieval and p
[[servlet-authentication-ldap-required-dependencies]]
== Required Dependencies
-To enable LDAP with Spring Security you have to add following dependencies:
+To get started, add the `spring-security-ldap` dependency to your project.
+When using Spring Boot, add the following dependencies:
+.Spring Security LDAP Dependencies
[tabs]
======
Maven::
+
-[source,xml,role="primary",subs="verbatim,attributes"]
+[source,xml,role="primary"]
----
org.springframework.boot
spring-boot-starter-data-ldap
- {spring-boot-starter-data-ldap-version}
org.springframework.security
spring-security-ldap
- {spring-security-ldap-version}
----
Gradle::
+
-[source,groovy,role="secondary",subs="verbatim,attributes"]
+[source,groovy,role="secondary"]
----
depenendencies {
- implementation "org.springframework.boot:spring-boot-starter-data-ldap:{spring-boot-starter-data-ldap-version}"
- implementation "org.springframework.security:spring-security-ldap:{spring-security-ldap-version}"
+ implementation "org.springframework.boot:spring-boot-starter-data-ldap"
+ implementation "org.springframework.security:spring-security-ldap"
}
----
======