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.UserDetailsgetUserFromCache(String username)booleanisCaseSensitive()voidputUserInCache(org.springframework.security.core.userdetails.UserDetails user)voidremoveUserFromCache(String username)voidsetCaseSensitive(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:
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
public void removeUserFromCache(String username)
- Specified by:
removeUserFromCachein interfaceorg.springframework.security.core.userdetails.UserCache- Overrides:
removeUserFromCachein classorg.springframework.security.core.userdetails.cache.EhCacheBasedUserCache
-
-