org.springframework.security.access.PermissionCacheOptimizer |
Known Indirect Subclasses
|
Class Overview
Allows permissions to be pre-cached when using pre or post filtering with expressions
Public Methods
public
abstract
void
cachePermissionsFor
(Authentication a, 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
a
| the user for whom permissions should be obtained. |
objects
| the (non-null) collection of domain objects for which permissions should be retrieved.
|