Marcus Da Coregio bce2126fd1 Update samples to use Spring Security 6 3 年之前
..
gradle a43cbcab41 Upgrade to Gradle 7.3 3 年之前
src c9ed471e8d Add LDAP Sample 4 年之前
README.adoc c9ed471e8d Add LDAP Sample 4 年之前
build.gradle bce2126fd1 Update samples to use Spring Security 6 3 年之前
gradle.properties bce2126fd1 Update samples to use Spring Security 6 3 年之前
gradlew c9ed471e8d Add LDAP Sample 4 年之前
gradlew.bat c9ed471e8d Add LDAP Sample 4 年之前
settings.gradle c9ed471e8d Add LDAP Sample 4 年之前

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!
```