Skip to content

Commit f622d8e

Browse files
committed
Polish gh-15235
1 parent 92cab2b commit f622d8e

File tree

1 file changed

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

1 file changed

+7
-7
lines changed

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,34 @@ It uses separate strategy interfaces for authentication and role retrieval and p
1313
[[servlet-authentication-ldap-required-dependencies]]
1414
== Required Dependencies
1515

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:
1718

19+
.Spring Security LDAP Dependencies
1820
[tabs]
1921
======
2022
Maven::
2123
+
22-
[source,xml,role="primary",subs="verbatim,attributes"]
24+
[source,xml,role="primary"]
2325
----
2426
<dependency>
2527
<groupId>org.springframework.boot</groupId>
2628
<artifactId>spring-boot-starter-data-ldap</artifactId>
27-
<version>{spring-boot-starter-data-ldap-version}</version>
2829
</dependency>
2930
3031
<dependency>
3132
<groupId>org.springframework.security</groupId>
3233
<artifactId>spring-security-ldap</artifactId>
33-
<version>{spring-security-ldap-version}</version>
3434
</dependency>
3535
----
3636
3737
Gradle::
3838
+
39-
[source,groovy,role="secondary",subs="verbatim,attributes"]
39+
[source,groovy,role="secondary"]
4040
----
4141
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"
4444
}
4545
----
4646
======

0 commit comments

Comments
 (0)