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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
getUserFromCache
(String username) boolean
void
putUserInCache
(org.springframework.security.core.userdetails.UserDetails user) void
removeUserFromCache
(String username) void
setCaseSensitive
(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:
getUserFromCache
in interfaceorg.springframework.security.core.userdetails.UserCache
- Overrides:
getUserFromCache
in classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
putUserInCache
public void putUserInCache(org.springframework.security.core.userdetails.UserDetails user) - Specified by:
putUserInCache
in interfaceorg.springframework.security.core.userdetails.UserCache
- Overrides:
putUserInCache
in classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
removeUserFromCache
- Specified by:
removeUserFromCache
in interfaceorg.springframework.security.core.userdetails.UserCache
- Overrides:
removeUserFromCache
in classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-