Skip to content

Commit

Permalink
Polish gh-15235
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Jun 13, 2024
1 parent 92cab2b commit f622d8e
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
----
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-ldap</artifactId>
<version>{spring-boot-starter-data-ldap-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
<version>{spring-security-ldap-version}</version>
</dependency>
----
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"
}
----
======
Expand Down

0 comments on commit f622d8e

Please sign in to comment.