Class PentahoEhCacheBasedUserCache
java.lang.Object
org.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
org.pentaho.platform.plugin.services.security.userrole.PentahoEhCacheBasedUserCache
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.core.userdetails.UserCache
public class PentahoEhCacheBasedUserCache
extends org.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsgetUserFromCache(String username) booleanvoidputUserInCache(org.springframework.security.core.userdetails.UserDetails user) voidremoveUserFromCache(String username) voidsetCaseSensitive(boolean caseSensitive) Methods inherited from class org.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
afterPropertiesSet, getCache, removeUserFromCache, setCache
-
Constructor Details
-
PentahoEhCacheBasedUserCache
public PentahoEhCacheBasedUserCache()
-
-
Method Details
-
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
getUserFromCache
- Specified by:
getUserFromCachein interfaceorg.springframework.security.core.userdetails.UserCache- Overrides:
getUserFromCachein classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
putUserInCache
public void putUserInCache(org.springframework.security.core.userdetails.UserDetails user) - Specified by:
putUserInCachein interfaceorg.springframework.security.core.userdetails.UserCache- Overrides:
putUserInCachein classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
removeUserFromCache
- Specified by:
removeUserFromCachein interfaceorg.springframework.security.core.userdetails.UserCache- Overrides:
removeUserFromCachein classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-