Package org.springframework.security.access.vote
Implements a vote-based approach to authorization decisions.
-
Class Summary Class Description AbstractAccessDecisionManager Abstract implementation ofAccessDecisionManager.AbstractAclVoter Provides helper methods for writing domain object ACL voters.AffirmativeBased Simple concrete implementation ofAccessDecisionManagerthat grants access if anyAccessDecisionVoterreturns an affirmative response.AuthenticatedVoter Votes if aConfigAttribute.getAttribute()ofIS_AUTHENTICATED_FULLYorIS_AUTHENTICATED_REMEMBEREDorIS_AUTHENTICATED_ANONYMOUSLYis present.ConsensusBased Simple concrete implementation ofAccessDecisionManagerthat uses a consensus-based approach.RoleHierarchyVoter Extended RoleVoter which uses aRoleHierarchydefinition to determine the roles allocated to the current user before voting.RoleVoter Votes if anyConfigAttribute.getAttribute()starts with a prefix indicating that it is a role.UnanimousBased Simple concrete implementation ofAccessDecisionManagerthat requires all voters to abstain or grant access.