Class RoleHierarchyVoter
java.lang.Object
org.springframework.security.access.vote.RoleVoter
org.springframework.security.access.vote.RoleHierarchyVoter
- All Implemented Interfaces:
AccessDecisionVoter<Object>
Deprecated.
Extended RoleVoter which uses a
RoleHierarchy
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
-
Method Summary
Methods inherited from class org.springframework.security.access.vote.RoleVoter
getRolePrefix, setRolePrefix, supports, supports, vote
-
Constructor Details
-
RoleHierarchyVoter
Deprecated.
-
AuthorityAuthorizationManager.setRoleHierarchy(org.springframework.security.access.hierarchicalroles.RoleHierarchy)
instead