Class UnanimousMultiAccessDecisionManager
- java.lang.Object
-
- com.atlassian.bamboo.security.acegi.vote.UnanimousMultiAccessDecisionManager
-
- All Implemented Interfaces:
org.acegisecurity.AccessDecisionManager
public class UnanimousMultiAccessDecisionManager extends Object implements org.acegisecurity.AccessDecisionManager
A decision manager that takes multipleAccessDecisionManager
and allows authorization if all decision manager agrees.
-
-
Constructor Summary
Constructors Constructor Description UnanimousMultiAccessDecisionManager(@NotNull List<org.acegisecurity.AccessDecisionManager> accessDecisionManagers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decide(org.acegisecurity.Authentication authentication, Object object, org.acegisecurity.ConfigAttributeDefinition config)
boolean
supports(Class clazz)
boolean
supports(org.acegisecurity.ConfigAttribute attribute)
-
-
-
Constructor Detail
-
UnanimousMultiAccessDecisionManager
public UnanimousMultiAccessDecisionManager(@NotNull @NotNull List<org.acegisecurity.AccessDecisionManager> accessDecisionManagers)
-
-
Method Detail
-
decide
public void decide(org.acegisecurity.Authentication authentication, Object object, org.acegisecurity.ConfigAttributeDefinition config) throws org.acegisecurity.AccessDeniedException, org.acegisecurity.InsufficientAuthenticationException
- Specified by:
decide
in interfaceorg.acegisecurity.AccessDecisionManager
- Throws:
org.acegisecurity.AccessDeniedException
org.acegisecurity.InsufficientAuthenticationException
-
supports
public boolean supports(org.acegisecurity.ConfigAttribute attribute)
- Specified by:
supports
in interfaceorg.acegisecurity.AccessDecisionManager
-
supports
public boolean supports(Class clazz)
- Specified by:
supports
in interfaceorg.acegisecurity.AccessDecisionManager
-
-