2014-06-04 11:33:02 -04:00
|
|
|
|
2014-06-15 08:26:17 -04:00
|
|
|
## Spring Security with LDAP Example Project
|
2014-06-04 11:33:02 -04:00
|
|
|
|
2016-06-28 05:34:22 -04:00
|
|
|
###The Course
|
|
|
|
The "Learn Spring Security" Classes: http://bit.ly/learnspringsecurity
|
2014-06-04 11:33:02 -04:00
|
|
|
|
|
|
|
### Relevant Article:
|
|
|
|
- [Spring Security - security none, filters none, access permitAll](http://www.baeldung.com/security-none-filters-none-access-permitAll)
|
|
|
|
- [Spring Security Basic Authentication](http://www.baeldung.com/spring-security-basic-authentication)
|
2016-02-10 07:33:55 -05:00
|
|
|
- [Intro to Spring Security LDAP](http://www.baeldung.com/spring-security-ldap)
|
2014-06-04 11:33:02 -04:00
|
|
|
|
|
|
|
### Notes
|
2014-06-15 08:26:17 -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)
|
2014-06-15 08:28:38 -04:00
|
|
|
|