Eleftheria Stein 2ddf0a2fa9 Update LDAP samples to use LdapBindAuthenticationManagerFactory 3 years ago
..
gradle 5097f9dcfc Update to Gradle 7.2 3 years ago
src 2ddf0a2fa9 Update LDAP samples to use LdapBindAuthenticationManagerFactory 3 years ago
README.adoc c9ed471e8d Add LDAP Sample 4 years ago
build.gradle 73fbaa9950 Add milestone repository 3 years ago
gradle.properties 08166219c7 Use Spring Security 5.7.0-SNAPSHOT 3 years ago
gradlew c9ed471e8d Add LDAP Sample 4 years ago
gradlew.bat c9ed471e8d Add LDAP Sample 4 years ago
settings.gradle c9ed471e8d Add LDAP Sample 4 years ago

README.adoc

= LDAP Sample

This sample demonstrates how to connect to an LDAP server using bind authentication.

[[usage]]
To use the application, first run it:

```bash
./gradlew :servlet:spring-boot:java:ldap:bootRun
```

Then, request `/`, using the following credentials:

```bash
curl --user user:password localhost:8080 && echo
```

You should see a response like:

```bash
Hello, user!
```