java.lang.Object |
↳ |
org.springframework.security.acls.AclPermissionCacheOptimizer |
Class Overview
Batch loads ACLs for collections of objects to allow optimised filtering.
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.
|