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
ConstructorsConstructorDescriptionLDAccessDecisionManager(List<org.springframework.security.access.AccessDecisionVoter<? extends Object>> decisionVoters) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecide(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> properties) booleanbooleansupports(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:
decidein interfaceorg.springframework.security.access.AccessDecisionManager- Overrides:
decidein classorg.springframework.security.access.vote.UnanimousBased- Throws:
org.springframework.security.access.AccessDeniedExceptionorg.springframework.security.authentication.InsufficientAuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionManager- Overrides:
supportsin classorg.springframework.security.access.vote.AbstractAccessDecisionManager
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute arg0) - Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionManager- Overrides:
supportsin classorg.springframework.security.access.vote.AbstractAccessDecisionManager
-