org.springframework.security.access.vote.RoleHierarchyVoter Java Examples
The following examples show how to use
org.springframework.security.access.vote.RoleHierarchyVoter.
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: SecurityBeans.java From zhcet-web with Apache License 2.0 | 4 votes |
@Bean RoleVoter roleVoter(RoleHierarchy roleHierarchy) { return new RoleHierarchyVoter(roleHierarchy); }
Example #2
Source File: MethodSecurityConfig.java From demo-spring-security-cas with Apache License 2.0 | 4 votes |
@Bean public RoleHierarchyVoter roleHierarchyVoter() { return new RoleHierarchyVoter(roleHierarchy()); }
Example #3
Source File: WallRideSecurityConfiguration.java From wallride with Apache License 2.0 | 4 votes |
@Bean public RoleVoter roleVoter() { return new RoleHierarchyVoter(roleHierarchy()); }
Example #4
Source File: MolgenisWebAppSecurityConfig.java From molgenis with GNU Lesser General Public License v3.0 | 4 votes |
@Bean public RoleVoter roleVoter() { return new RoleHierarchyVoter(roleHierarchyBean()); }