This website works better with JavaScript
Home
Explore
Help
Register
Sign In
github
/
spring-security-samples
mirror of
https://github.com/spring-projects/spring-security-samples
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Tree:
75f3cb81b9
Branches
Tags
5.5.x
5.6.x
5.7.x
5.8.x
6.0.x
6.1.x
6.2.x
6.3.x
6.4.x
6.5.x
dependabot/gradle/6.1.x/io.spring.javaformat-0.0.43
dependabot/gradle/6.1.x/io.spring.javaformat-spring-javaformat-checkstyle-0.0.43
dependabot/gradle/6.1.x/org.springframework-spring-framework-bom-6.0.23
dependabot/gradle/6.2.x/io.spring.javaformat-0.0.43
dependabot/gradle/6.2.x/io.spring.javaformat-spring-javaformat-checkstyle-0.0.43
dependabot/gradle/6.2.x/org.springframework-spring-framework-bom-6.1.14
dependabot/gradle/6.2.x/org.springframework.boot-3.2.11
dependabot/gradle/6.2.x/org.springframework.data-spring-data-bom-2023.1.11
dependabot/gradle/main/io.spring.javaformat-0.0.43
dependabot/gradle/main/io.spring.javaformat-spring-javaformat-checkstyle-0.0.43
dependabot/gradle/main/org.springframework.data-spring-data-bom-2024.0.5
guides
main
5.5.0
spring-security...
/
servlet
/
spring-boot
/
java
/
ldap
Marcus Hert Da Coregio
75f3cb81b9
Allow gradle cache on tests
1 year ago
..
gradle
3f8e2c204a
Upgrade to Gradle 8.3
1 year ago
src
c9ed471e8d
Add LDAP Sample
4 years ago
README.adoc
c9ed471e8d
Add LDAP Sample
4 years ago
build.gradle
75f3cb81b9
Allow gradle cache on tests
1 year ago
gradle.properties
cd892c5604
Sync gradle.properties
2 years ago
gradlew
3f8e2c204a
Upgrade to Gradle 8.3
1 year ago
gradlew.bat
3f8e2c204a
Upgrade to Gradle 8.3
1 year 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!
```