Class EhCacheBasedAclCache
- java.lang.Object
-
- org.springframework.security.acls.domain.EhCacheBasedAclCache
-
- All Implemented Interfaces:
AclCache
@Deprecated public class EhCacheBasedAclCache extends java.lang.Object implements AclCache
Deprecated.since 5.6. In favor of JCache based implementationsSimple implementation ofAclCachethat delegates to EH-CACHE.Designed to handle the transient fields in
AclImpl. Note that this implementation assumes allAclImplinstances share the samePermissionGrantingStrategyandAclAuthorizationStrategyinstances.
-
-
Constructor Summary
Constructors Constructor Description EhCacheBasedAclCache(net.sf.ehcache.Ehcache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclearCache()Deprecated.voidevictFromCache(java.io.Serializable pk)Deprecated.voidevictFromCache(ObjectIdentity objectIdentity)Deprecated.MutableAclgetFromCache(java.io.Serializable pk)Deprecated.MutableAclgetFromCache(ObjectIdentity objectIdentity)Deprecated.voidputInCache(MutableAcl acl)Deprecated.
-
-
-
Constructor Detail
-
EhCacheBasedAclCache
public EhCacheBasedAclCache(net.sf.ehcache.Ehcache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)Deprecated.
-
-
Method Detail
-
evictFromCache
public void evictFromCache(java.io.Serializable pk)
Deprecated.- Specified by:
evictFromCachein interfaceAclCache
-
evictFromCache
public void evictFromCache(ObjectIdentity objectIdentity)
Deprecated.- Specified by:
evictFromCachein interfaceAclCache
-
getFromCache
public MutableAcl getFromCache(ObjectIdentity objectIdentity)
Deprecated.- Specified by:
getFromCachein interfaceAclCache
-
getFromCache
public MutableAcl getFromCache(java.io.Serializable pk)
Deprecated.- Specified by:
getFromCachein interfaceAclCache
-
putInCache
public void putInCache(MutableAcl acl)
Deprecated.- Specified by:
putInCachein interfaceAclCache
-
clearCache
public void clearCache()
Deprecated.- Specified by:
clearCachein interfaceAclCache
-
-