19 lines
834 B
Markdown
19 lines
834 B
Markdown
|
|
## Spring Security with LDAP Example Project
|
|
|
|
###The Course
|
|
The "Learn Spring Security" Classes: http://github.learnspringsecurity.com
|
|
|
|
### Relevant Article:
|
|
- [Spring Security - security none, filters none, access permitAll](http://www.baeldung.com/security-none-filters-none-access-permitAll)
|
|
- [Intro to Spring Security LDAP](http://www.baeldung.com/spring-security-ldap)
|
|
|
|
### Notes
|
|
- 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)
|
|
|