November 2017
Intermediate to advanced
542 pages
14h 24m
English
The DefaultMethodSecurityExpressionHandler object has two dependencies. The AclPermissionCacheOptimizer object is used to prime the cache with all of the ACLs for a collection of objects in a single JDBC select statement. The relatively simple configuration included with this chapter can be checked, as follows:
src/main/java/com/packtpub/springsecurity/configuration/AclConfig.java @Bean public AclPermissionCacheOptimizer permissionCacheOptimizer(){ return new AclPermissionCacheOptimizer(aclService()); }
Read now
Unlock full access