Authentication Process
- Spring Security Supports a variety of pluggable Authentication Providers, e.g. , LDAP, X.509(Certificates), Database(JDBC), JAAS,OAuth
- AuthenticationManager (Interface for processes all authentication requests) is the core for processing all authentication requests
- AuthenticationProvider (Interface for Authentication process) is used to define authentication provider
- AuthenticationProvider implements UserDetailsService (Service interface for fetching UserDetails object), which is responsible to get the User details
- The retrieved user details are matched with the provided username/ password while login
