All Methods Instance Methods Concrete Methods Modifier and Type Method Description
loadUserByUsername(java.lang.String username)Locates the user based on the username.
public UserDetails loadUserByUsername(java.lang.String username) throws UsernameNotFoundExceptionDescription copied from interface:
UserDetailsServiceLocates the user based on the username. In the actual implementation, the search may possibly be case sensitive, or case insensitive depending on how the implementation instance is configured. In this case, the
UserDetailsobject that comes back may have a username that is of a different case than what was actually requested..
- Specified by:
username- the username identifying the user whose data is required.
- a fully populated user record (never
UsernameNotFoundException- if the user could not be found or the user has no GrantedAuthority
public void setUserDetailsMapper(UserDetailsContextMapper userDetailsMapper)