Class RoleHierarchyVoter
- java.lang.Object
-
- org.springframework.security.access.vote.RoleVoter
-
- org.springframework.security.access.vote.RoleHierarchyVoter
-
- All Implemented Interfaces:
AccessDecisionVoter<java.lang.Object>
public class RoleHierarchyVoter extends RoleVoter
Extended RoleVoter which uses aRoleHierarchy
definition to determine the roles allocated to the current user before voting.- Since:
- 2.0.4
-
-
Field Summary
-
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
-
-
Constructor Summary
Constructors Constructor Description RoleHierarchyVoter(RoleHierarchy roleHierarchy)
-
Method Summary
-
Methods inherited from class org.springframework.security.access.vote.RoleVoter
getRolePrefix, setRolePrefix, supports, supports, vote
-
-
-
-
Constructor Detail
-
RoleHierarchyVoter
public RoleHierarchyVoter(RoleHierarchy roleHierarchy)
-
-