Skip to content

YeowKinRen/securing-web

Repository files navigation

securing-web

Basic Spring Security in-memory authentication

welcome
login
hello

username: user
password: secret123

Notes

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.

HTTPSecurity vs WebSecurity
Configure
Spring Security

Resource

About

Basic Spring Security in-memory authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published