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 Constructor Description PentahoEhCacheBasedUserCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetails
getUserFromCache(String username)
boolean
isCaseSensitive()
void
putUserInCache(org.springframework.security.core.userdetails.UserDetails user)
void
removeUserFromCache(String username)
void
setCaseSensitive(boolean caseSensitive)
-
-
-
Method Detail
-
isCaseSensitive
public boolean isCaseSensitive()
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
-
getUserFromCache
public org.springframework.security.core.userdetails.UserDetails getUserFromCache(String username)
- 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
public void removeUserFromCache(String username)
- Specified by:
removeUserFromCache
in interfaceorg.springframework.security.core.userdetails.UserCache
- Overrides:
removeUserFromCache
in classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
-