Class LDAccessDecisionManager
java.lang.Object
org.springframework.security.access.vote.AbstractAccessDecisionManager
org.springframework.security.access.vote.UnanimousBased
com.logicaldoc.core.security.spring.LDAccessDecisionManager
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.MessageSourceAware
,org.springframework.security.access.AccessDecisionManager
public class LDAccessDecisionManager
extends org.springframework.security.access.vote.UnanimousBased
Our customization of an
AffirmativeBased
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
ConstructorDescriptionLDAccessDecisionManager
(List<org.springframework.security.access.AccessDecisionVoter<? extends Object>> decisionVoters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decide
(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> properties) boolean
boolean
supports
(org.springframework.security.access.ConfigAttribute arg0) Methods inherited from class org.springframework.security.access.vote.AbstractAccessDecisionManager
afterPropertiesSet, getDecisionVoters, isAllowIfAllAbstainDecisions, setAllowIfAllAbstainDecisions, setMessageSource, toString
-
Constructor Details
-
LDAccessDecisionManager
-
-
Method Details
-
decide
public void decide(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> properties) throws org.springframework.security.access.AccessDeniedException, org.springframework.security.authentication.InsufficientAuthenticationException - Specified by:
decide
in interfaceorg.springframework.security.access.AccessDecisionManager
- Overrides:
decide
in classorg.springframework.security.access.vote.UnanimousBased
- Throws:
org.springframework.security.access.AccessDeniedException
org.springframework.security.authentication.InsufficientAuthenticationException
-
supports
- Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionManager
- Overrides:
supports
in classorg.springframework.security.access.vote.AbstractAccessDecisionManager
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute arg0) - Specified by:
supports
in interfaceorg.springframework.security.access.AccessDecisionManager
- Overrides:
supports
in classorg.springframework.security.access.vote.AbstractAccessDecisionManager
-