org.springframework.security.access.vote
Class RoleHierarchyVoter

java.lang.Object
  extended by org.springframework.security.access.vote.RoleVoter
      extended by org.springframework.security.access.vote.RoleHierarchyVoter
All Implemented Interfaces:
AccessDecisionVoter

public class RoleHierarchyVoter
extends RoleVoter

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
RoleHierarchyVoter(RoleHierarchy roleHierarchy)
           
 
Method Summary
 
Methods inherited from class org.springframework.security.access.vote.RoleVoter
getRolePrefix, setRolePrefix, supports, supports, vote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleHierarchyVoter

public RoleHierarchyVoter(RoleHierarchy roleHierarchy)