Class SpringCacheBasedAclCache
java.lang.Object
org.springframework.security.acls.domain.SpringCacheBasedAclCache
- All Implemented Interfaces:
AclCache
Simple implementation of
AclCache that
delegates to Cache implementation.
Designed to handle the transient fields in
AclImpl. Note that this implementation
assumes all AclImpl instances share
the same PermissionGrantingStrategy and
AclAuthorizationStrategy instances.
- Since:
- 3.2
-
Constructor Summary
ConstructorsConstructorDescriptionSpringCacheBasedAclCache(org.springframework.cache.Cache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidevictFromCache(ObjectIdentity objectIdentity) getFromCache(ObjectIdentity objectIdentity) voidputInCache(MutableAcl acl)
-
Constructor Details
-
SpringCacheBasedAclCache
public SpringCacheBasedAclCache(org.springframework.cache.Cache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)
-
-
Method Details
-
evictFromCache
- Specified by:
evictFromCachein interfaceAclCache
-
evictFromCache
- Specified by:
evictFromCachein interfaceAclCache
-
getFromCache
- Specified by:
getFromCachein interfaceAclCache
-
getFromCache
- Specified by:
getFromCachein interfaceAclCache
-
putInCache
- Specified by:
putInCachein interfaceAclCache
-
clearCache
public void clearCache()- Specified by:
clearCachein interfaceAclCache
-