Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

12 строки
452 B
Plaintext

1. unite username and pwd into UsernamePasswordAuthenticationToken
then it passed to AuthenticationManager for comparison
2. Throw BadCredentialsException if does not match
LoggedDaoAuthenticationProvider
SamlAuthenticationProvider/SamlAuthenticationProviderFilter
3. In case of success - return Authentication object
4. Object, returned by AuthenticationManager, passed to
SecurityContextHolder.getContext().setAuthentication(...)