Class RoleHierarchyVoter

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

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
  • Constructor Details

    • RoleHierarchyVoter

      public RoleHierarchyVoter(RoleHierarchy roleHierarchy)