public class CachingUserDetailsService extends java.lang.Object implements UserDetailsService
Modifier and Type | Method and Description |
---|---|
UserCache |
getUserCache() |
UserDetails |
loadUserByUsername(java.lang.String username)
Locates the user based on the username.
|
void |
setUserCache(UserCache userCache) |
public UserCache getUserCache()
public void setUserCache(UserCache userCache)
public UserDetails loadUserByUsername(java.lang.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
)