Authentication
key term
UserDetail
(name,pass,role,etc),
UserDetailsService
Authentication
AuthenticationManager
and AuthenticationManagerBuilder
- central point for authentication logic
AuthenticationProviders
- InMemoryUserDetailsManager : Security_01_Config.java
- Custom beans : UserDetailsService AuthenticationProvider, Filters
ways to do
Form-based Authentication
(not for REST api) // http.loginForm()...
Basic Authentication
/ Digest Authentication (old,hashed credentials)
- hide credential: Authorization header :: Base64-encoded string username:password.
- itโs possible to hide the key using SSL.
LDAP
- springs helps to integrating with LDAP and perform authentication.
OpenID Connect

- springs helps to integrating with external authentication-providers(okta,google,etc)
- Identity token generate by Okta, requested by UI or consumer.
- okta:
- Multi-factor Authentication: configuring it
- SpringApp <--> okta <--> LDAP Integration, for Authentication