Skip to content

Commit e417714

Browse files
committed
Merge branch '5.8.x' into 6.2.x
Closes gh-15244
2 parents 0913903 + f622d8e commit e417714

File tree

1 file changed

+35
-0
lines changed
  • docs/modules/ROOT/pages/servlet/authentication/passwords

1 file changed

+35
-0
lines changed

docs/modules/ROOT/pages/servlet/authentication/passwords/ldap.adoc

+35
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,41 @@ However, despite using a username and password for authentication, it does not u
1010
There are many different scenarios for how an LDAP server can be configured, so Spring Security's LDAP provider is fully configurable.
1111
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.
1212

13+
[[servlet-authentication-ldap-required-dependencies]]
14+
== Required Dependencies
15+
16+
To get started, add the `spring-security-ldap` dependency to your project.
17+
When using Spring Boot, add the following dependencies:
18+
19+
.Spring Security LDAP Dependencies
20+
[tabs]
21+
======
22+
Maven::
23+
+
24+
[source,xml,role="primary"]
25+
----
26+
<dependency>
27+
<groupId>org.springframework.boot</groupId>
28+
<artifactId>spring-boot-starter-data-ldap</artifactId>
29+
</dependency>
30+
31+
<dependency>
32+
<groupId>org.springframework.security</groupId>
33+
<artifactId>spring-security-ldap</artifactId>
34+
</dependency>
35+
----
36+
37+
Gradle::
38+
+
39+
[source,groovy,role="secondary"]
40+
----
41+
depenendencies {
42+
implementation "org.springframework.boot:spring-boot-starter-data-ldap"
43+
implementation "org.springframework.security:spring-security-ldap"
44+
}
45+
----
46+
======
47+
1348
[[servlet-authentication-ldap-prerequisites]]
1449
== Prerequisites
1550

0 commit comments

Comments
 (0)