Files
spring-security-samples/servlet/spring-boot/java/ldap
Marcus Da Coregio bb6fc88875 Merge branch '6.0.x'
2023-07-04 10:00:21 -03:00
..
2023-07-04 09:58:04 -03:00
2021-06-15 16:56:59 -06:00
2023-06-21 15:58:23 -03:00
2023-06-21 16:21:08 -03:00
2023-07-04 09:58:04 -03:00
2023-07-04 09:58:04 -03:00
2021-06-15 16:56:59 -06:00
2021-06-15 16:56:59 -06:00

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