public interface PermissionCacheOptimizer
extends org.springframework.aop.framework.AopInfrastructureBean
| Modifier and Type | Method and Description |
|---|---|
void |
cachePermissionsFor(Authentication a,
Collection<?> objects)
Optimises the permission cache for anticipated operation on the supplied collection of objects.
|
void cachePermissionsFor(Authentication a, 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.Copyright © 2016. All rights reserved.