Class CachingUserDetailsService
- java.lang.Object
- 
- org.springframework.security.authentication.CachingUserDetailsService
 
- 
- All Implemented Interfaces:
- UserDetailsService
 
 public class CachingUserDetailsService extends java.lang.Object implements UserDetailsService - Since:
- 2.0
 
- 
- 
Constructor SummaryConstructors Constructor Description CachingUserDetailsService(UserDetailsService delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UserCachegetUserCache()UserDetailsloadUserByUsername(java.lang.String username)Locates the user based on the username.voidsetUserCache(UserCache userCache)
 
- 
- 
- 
Constructor Detail- 
CachingUserDetailsServicepublic CachingUserDetailsService(UserDetailsService delegate) 
 
- 
 - 
Method Detail- 
getUserCachepublic UserCache getUserCache() 
 - 
setUserCachepublic void setUserCache(UserCache userCache) 
 - 
loadUserByUsernamepublic UserDetails loadUserByUsername(java.lang.String username) Description 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, theUserDetailsobject that comes back may have a username that is of a different case than what was actually requested..- Specified by:
- loadUserByUsernamein interface- UserDetailsService
- Parameters:
- username- the username identifying the user whose data is required.
- Returns:
- a fully populated user record (never null)
 
 
- 
 
-