@@ -13,34 +13,34 @@ It uses separate strategy interfaces for authentication and role retrieval and p
13
13
[[servlet-authentication-ldap-required-dependencies]]
14
14
== Required Dependencies
15
15
16
- To enable LDAP with Spring Security you have to add following dependencies:
16
+ To get started, add the `spring-security-ldap` dependency to your project.
17
+ When using Spring Boot, add the following dependencies:
17
18
19
+ .Spring Security LDAP Dependencies
18
20
[tabs]
19
21
======
20
22
Maven::
21
23
+
22
- [source,xml,role="primary",subs="verbatim,attributes" ]
24
+ [source,xml,role="primary"]
23
25
----
24
26
<dependency>
25
27
<groupId>org.springframework.boot</groupId>
26
28
<artifactId>spring-boot-starter-data-ldap</artifactId>
27
- <version>{spring-boot-starter-data-ldap-version}</version>
28
29
</dependency>
29
30
30
31
<dependency>
31
32
<groupId>org.springframework.security</groupId>
32
33
<artifactId>spring-security-ldap</artifactId>
33
- <version>{spring-security-ldap-version}</version>
34
34
</dependency>
35
35
----
36
36
37
37
Gradle::
38
38
+
39
- [source,groovy,role="secondary",subs="verbatim,attributes" ]
39
+ [source,groovy,role="secondary"]
40
40
----
41
41
depenendencies {
42
- implementation "org.springframework.boot:spring-boot-starter-data-ldap:{spring-boot-starter-data-ldap-version} "
43
- implementation "org.springframework.security:spring-security-ldap:{spring-security-ldap-version} "
42
+ implementation "org.springframework.boot:spring-boot-starter-data-ldap"
43
+ implementation "org.springframework.security:spring-security-ldap"
44
44
}
45
45
----
46
46
======
0 commit comments