Add LDAP Sample

This commit is contained in:
Josh Cummings
2021-06-15 16:56:59 -06:00
parent 2ad47fdc67
commit c9ed471e8d
15 changed files with 605 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
= 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!
```