public class

EhCacheBasedAclCache

extends Object
implements AclCache
java.lang.Object
   ↳ org.springframework.security.acls.domain.EhCacheBasedAclCache

Class Overview

Simple implementation of AclCache that delegates to EH-CACHE.

Designed to handle the transient fields in AclImpl. Note that this implementation assumes all AclImpl instances share the same PermissionGrantingStrategy and AclAuthorizationStrategy instances.

Summary

Public Constructors
EhCacheBasedAclCache(Ehcache cache)
This constructor is deprecated. use the second constructor which injects the strategy objects. See SEC-1498.
EhCacheBasedAclCache(Ehcache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)
Public Methods
void clearCache()
void evictFromCache(Serializable pk)
void evictFromCache(ObjectIdentity objectIdentity)
MutableAcl getFromCache(ObjectIdentity objectIdentity)
MutableAcl getFromCache(Serializable pk)
void putInCache(MutableAcl acl)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.acls.model.AclCache

Public Constructors

public EhCacheBasedAclCache (Ehcache cache)

This constructor is deprecated.
use the second constructor which injects the strategy objects. See SEC-1498.

public EhCacheBasedAclCache (Ehcache cache, PermissionGrantingStrategy permissionGrantingStrategy, AclAuthorizationStrategy aclAuthorizationStrategy)

Public Methods

public void clearCache ()

public void evictFromCache (Serializable pk)

public void evictFromCache (ObjectIdentity objectIdentity)

public MutableAcl getFromCache (ObjectIdentity objectIdentity)

public MutableAcl getFromCache (Serializable pk)

public void putInCache (MutableAcl acl)