# UserDetails
UserDetails
(opens new window) 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
.