public class

AclPermissionCacheOptimizer

extends Object
implements PermissionCacheOptimizer
java.lang.Object
   ↳ org.springframework.security.acls.AclPermissionCacheOptimizer

Class Overview

Batch loads ACLs for collections of objects to allow optimised filtering.

Summary

Public Constructors
AclPermissionCacheOptimizer(AclService aclService)
Public Methods
void cachePermissionsFor(Authentication authentication, Collection<?> objects)
Optimises the permission cache for anticipated operation on the supplied collection of objects.
void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
void setSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.access.PermissionCacheOptimizer

Public Constructors

public AclPermissionCacheOptimizer (AclService aclService)

Public Methods

public void cachePermissionsFor (Authentication authentication, Collection<?> objects)

Optimises the permission cache for anticipated operation on the supplied collection of objects. Usually this will entail batch loading of permissions for the objects in the collection.

Parameters
authentication the user for whom permissions should be obtained.
objects the (non-null) collection of domain objects for which permissions should be retrieved.

public void setObjectIdentityRetrievalStrategy (ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)

public void setSidRetrievalStrategy (SidRetrievalStrategy sidRetrievalStrategy)