2019-10-31 21:43:47 -04:00
|
|
|
|
## Spring Security LDAP
|
|
|
|
|
|
|
|
|
|
This module contains articles about Spring Security LDAP
|
|
|
|
|
|
2019-10-25 08:14:04 -04:00
|
|
|
|
### The Course
|
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
|
The "Learn Spring Security" Classes: http://github.learnspringsecurity.com
|
|
|
|
|
|
|
|
|
|
### Relevant Article:
|
2019-10-25 08:14:04 -04:00
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
|
- [Spring Security – security none, filters none, access permitAll](https://www.baeldung.com/security-none-filters-none-access-permitAll)
|
|
|
|
|
- [Intro to Spring Security LDAP](https://www.baeldung.com/spring-security-ldap)
|
|
|
|
|
|
|
|
|
|
### Notes
|
2019-10-25 08:14:04 -04:00
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
|
- the project uses Spring Boot - simply run 'SampleLDAPApplication.java' to start up Spring Boot with a Tomcat container and embedded LDAP server.
|
|
|
|
|
- Once started, open 'http://localhost:8080'
|
|
|
|
|
- This will display the publicly available Home Page
|
|
|
|
|
- Navigate to 'Secure Page' to trigger authentication
|
|
|
|
|
- Username: 'baeldung', password: 'password'
|
|
|
|
|
- This will authenticate you, and display your allocated roles (as defined in the 'users.ldif' file)
|
|
|
|
|
|