Spring Security Framework

org.springframework.security.vote
Class RoleHierarchyVoter

java.lang.Object
  extended by org.springframework.security.vote.RoleVoter
      extended by org.springframework.security.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
Author:
Luke Taylor

Field Summary
 
Fields inherited from interface org.springframework.security.vote.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
 
Constructor Summary
RoleHierarchyVoter(RoleHierarchy roleHierarchy)
           
 
Method Summary
 
Methods inherited from class org.springframework.security.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)

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.