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 ofAclCache
that delegates to EH-CACHE.Designed to handle the transient fields in
AclImpl
. Note that this implementation assumes allAclImpl
instances share the samePermissionGrantingStrategy
andAclAuthorizationStrategy
instances.
-
-
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 void
clearCache()
Deprecated.void
evictFromCache(java.io.Serializable pk)
Deprecated.void
evictFromCache(ObjectIdentity objectIdentity)
Deprecated.MutableAcl
getFromCache(java.io.Serializable pk)
Deprecated.MutableAcl
getFromCache(ObjectIdentity objectIdentity)
Deprecated.void
putInCache(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:
evictFromCache
in interfaceAclCache
-
evictFromCache
public void evictFromCache(ObjectIdentity objectIdentity)
Deprecated.- Specified by:
evictFromCache
in interfaceAclCache
-
getFromCache
public MutableAcl getFromCache(ObjectIdentity objectIdentity)
Deprecated.- Specified by:
getFromCache
in interfaceAclCache
-
getFromCache
public MutableAcl getFromCache(java.io.Serializable pk)
Deprecated.- Specified by:
getFromCache
in interfaceAclCache
-
putInCache
public void putInCache(MutableAcl acl)
Deprecated.- Specified by:
putInCache
in interfaceAclCache
-
clearCache
public void clearCache()
Deprecated.- Specified by:
clearCache
in interfaceAclCache
-
-