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 anAffirmativeBased
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description LDAccessDecisionManager(List<org.springframework.security.access.AccessDecisionVoter<? extends Object>> decisionVoters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decide(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> properties)
boolean
supports(Class<?> arg0)
boolean
supports(org.springframework.security.access.ConfigAttribute arg0)
-
-
-
Method Detail
-
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
public boolean supports(Class<?> arg0)
- 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
-
-