Class SpringCacheBasedAclCache
- java.lang.Object
- 
- org.springframework.security.acls.domain.SpringCacheBasedAclCache
 
- 
- All Implemented Interfaces:
- AclCache
 
 public class SpringCacheBasedAclCache extends java.lang.Object implements AclCache Simple implementation ofAclCachethat delegates toCacheimplementation.Designed to handle the transient fields in AclImpl. Note that this implementation assumes allAclImplinstances share the samePermissionGrantingStrategyandAclAuthorizationStrategyinstances.- Since:
- 3.2
 
- 
- 
Constructor SummaryConstructors Constructor Description SpringCacheBasedAclCache(org.springframework.cache.Cache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCache()voidevictFromCache(java.io.Serializable pk)voidevictFromCache(ObjectIdentity objectIdentity)MutableAclgetFromCache(java.io.Serializable pk)MutableAclgetFromCache(ObjectIdentity objectIdentity)voidputInCache(MutableAcl acl)
 
- 
- 
- 
Constructor Detail- 
SpringCacheBasedAclCachepublic SpringCacheBasedAclCache(org.springframework.cache.Cache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)
 
- 
 - 
Method Detail- 
evictFromCachepublic void evictFromCache(java.io.Serializable pk) - Specified by:
- evictFromCachein interface- AclCache
 
 - 
evictFromCachepublic void evictFromCache(ObjectIdentity objectIdentity) - Specified by:
- evictFromCachein interface- AclCache
 
 - 
getFromCachepublic MutableAcl getFromCache(ObjectIdentity objectIdentity) - Specified by:
- getFromCachein interface- AclCache
 
 - 
getFromCachepublic MutableAcl getFromCache(java.io.Serializable pk) - Specified by:
- getFromCachein interface- AclCache
 
 - 
putInCachepublic void putInCache(MutableAcl acl) - Specified by:
- putInCachein interface- AclCache
 
 - 
clearCachepublic void clearCache() - Specified by:
- clearCachein interface- AclCache
 
 
- 
 
-