org.springframework.security.acls.AclPermissionEvaluator Java Examples
The following examples show how to use
org.springframework.security.acls.AclPermissionEvaluator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ACLContext.java From tutorials with MIT License | 5 votes |
@Bean public MethodSecurityExpressionHandler defaultMethodSecurityExpressionHandler() { DefaultMethodSecurityExpressionHandler expressionHandler = new DefaultMethodSecurityExpressionHandler(); AclPermissionEvaluator permissionEvaluator = new AclPermissionEvaluator(aclService()); expressionHandler.setPermissionEvaluator(permissionEvaluator); expressionHandler.setPermissionCacheOptimizer(new AclPermissionCacheOptimizer(aclService())); return expressionHandler; }
Example #2
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public AclPermissionEvaluator permissionEvaluator(){ return new AclPermissionEvaluator(aclService()); }
Example #3
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public AclPermissionEvaluator permissionEvaluator(){ AclPermissionEvaluator pe = new AclPermissionEvaluator(aclService()); pe.setPermissionFactory(permissionFactory()); return pe; }
Example #4
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public AclPermissionEvaluator permissionEvaluator(){ return new AclPermissionEvaluator(aclService()); }
Example #5
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public AclPermissionEvaluator permissionEvaluator(){ AclPermissionEvaluator pe = new AclPermissionEvaluator(aclService()); pe.setPermissionFactory(permissionFactory()); return pe; }
Example #6
Source File: AclConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
@Bean public AclPermissionEvaluator permissionEvaluator(){ AclPermissionEvaluator pe = new AclPermissionEvaluator(aclService()); pe.setPermissionFactory(permissionFactory()); return pe; }
Example #7
Source File: AclConfig.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
@Bean public AclPermissionEvaluator aclPermissionEvaluator() { AclPermissionEvaluator permissionEvaluator = new AclPermissionEvaluator(aclService()); permissionEvaluator.setSidRetrievalStrategy(sidRetrievalStrategy()); return permissionEvaluator; }