public interface PermissionCacheOptimizer
extends org.springframework.aop.framework.AopInfrastructureBean
Modifier and Type | Method and Description |
---|---|
void |
cachePermissionsFor(Authentication a,
java.util.Collection<?> objects)
Optimises the permission cache for anticipated operation on the supplied collection
of objects.
|
void cachePermissionsFor(Authentication a, java.util.Collection<?> objects)
a
- the user for whom permissions should be obtained.objects
- the (non-null) collection of domain objects for which permissions
should be retrieved.