com.atlassian.bamboo.security.acegi.vote
Class UnanimousMultiAccessDecisionManager
java.lang.Object
com.atlassian.bamboo.security.acegi.vote.UnanimousMultiAccessDecisionManager
- All Implemented Interfaces:
- org.acegisecurity.AccessDecisionManager
public class UnanimousMultiAccessDecisionManager
- extends java.lang.Object
- implements org.acegisecurity.AccessDecisionManager
A decision manager that takes multiple AccessDecisionManager
and allows authorization if all decision manager
agrees.
Method Summary |
void |
decide(org.acegisecurity.Authentication authentication,
java.lang.Object object,
org.acegisecurity.ConfigAttributeDefinition config)
|
boolean |
supports(java.lang.Class clazz)
|
boolean |
supports(org.acegisecurity.ConfigAttribute attribute)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnanimousMultiAccessDecisionManager
public UnanimousMultiAccessDecisionManager(@NotNull
java.util.List<org.acegisecurity.AccessDecisionManager> accessDecisionManagers)
decide
public void decide(org.acegisecurity.Authentication authentication,
java.lang.Object object,
org.acegisecurity.ConfigAttributeDefinition config)
throws org.acegisecurity.AccessDeniedException,
org.acegisecurity.InsufficientAuthenticationException
- Specified by:
decide
in interface org.acegisecurity.AccessDecisionManager
- Throws:
org.acegisecurity.AccessDeniedException
org.acegisecurity.InsufficientAuthenticationException
supports
public boolean supports(org.acegisecurity.ConfigAttribute attribute)
- Specified by:
supports
in interface org.acegisecurity.AccessDecisionManager
supports
public boolean supports(java.lang.Class clazz)
- Specified by:
supports
in interface org.acegisecurity.AccessDecisionManager
Copyright © 2012 Atlassian. All Rights Reserved.