Basic Spring Security in-memory authentication
username: user
password: secret123
configure(HttpSecurity http)
- used for configuration of web-based security at a resource level, based on a selection match. Requests will be allowed to be accessed from the Spring Security Filter Chain.
configure(WebSecurity web)
- used for configuration settings that impact global security (ignore resources, set debug mode, by-pass the Spring Security Filter Chain, reject requests by implementing a custom firewall definition).
configure(AuthenticationManagerBuilder auth)
- Allows for easily building in memory authentication, LDAP authentication, JDBC based authentication, adding UserDetailsService, and adding AuthenticationProvider's.