|
There is a newer version available. Please update to Spring Security 5.6! |
UserDetails
{security-api-url}org/springframework/security/core/userdetails/UserDetails.html[UserDetails] is returned by the UserDetailsService.
The DaoAuthenticationProvider validates the UserDetails and then returns an Authentication that has a principal that is the UserDetails returned by the configured UserDetailsService.