public class CachingUserDetailsService extends Object implements UserDetailsService
Modifier and Type | Method and Description |
---|---|
UserCache |
getUserCache() |
UserDetails |
loadUserByUsername(String username)
Locates the user based on the username.
|
void |
setUserCache(UserCache userCache) |
public UserCache getUserCache()
public void setUserCache(UserCache userCache)
public UserDetails loadUserByUsername(String username)
UserDetailsService
UserDetails
object that comes back may have a username that is of a different case than what was
actually requested..loadUserByUsername
in interface UserDetailsService
username
- the username identifying the user whose data is required.null
)