Browse Source

Merge branch '6.2.x' into 6.3.x

Closes gh-15245
Steve Riesenberg 1 year ago
parent
commit
5c0f1730d6
1 changed files with 35 additions and 0 deletions
  1. 35 0
      docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc

+ 35 - 0
docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc

@@ -10,6 +10,41 @@ However, despite using a username and password for authentication, it does not u
 There are many different scenarios for how an LDAP server can be configured, so Spring Security's LDAP provider is fully configurable.
 There are many different scenarios for how an LDAP server can be configured, so Spring Security's LDAP provider is fully configurable.
 It uses separate strategy interfaces for authentication and role retrieval and provides default implementations, which can be configured to handle a wide range of situations.
 It uses separate strategy interfaces for authentication and role retrieval and provides default implementations, which can be configured to handle a wide range of situations.
 
 
+[[servlet-authentication-ldap-required-dependencies]]
+== Required 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"]
+----
+<dependency>
+    <groupId>org.springframework.boot</groupId>
+    <artifactId>spring-boot-starter-data-ldap</artifactId>
+</dependency>
+
+<dependency>
+    <groupId>org.springframework.security</groupId>
+    <artifactId>spring-security-ldap</artifactId>
+</dependency>
+----
+
+Gradle::
++
+[source,groovy,role="secondary"]
+----
+depenendencies {
+    implementation "org.springframework.boot:spring-boot-starter-data-ldap"
+    implementation "org.springframework.security:spring-security-ldap"
+}
+----
+======
+
 [[servlet-authentication-ldap-prerequisites]]
 [[servlet-authentication-ldap-prerequisites]]
 == Prerequisites
 == Prerequisites