Class WebworkAclVoter
- java.lang.Object
-
- org.acegisecurity.vote.AbstractAclVoter
-
- org.acegisecurity.vote.AclEntryVoter
-
- com.atlassian.bamboo.security.acegi.vote.AbstractBambooAclEntryVoter
-
- com.atlassian.bamboo.security.acegi.vote.WebworkAclVoter
-
- All Implemented Interfaces:
org.acegisecurity.vote.AccessDecisionVoter
- Direct Known Subclasses:
ProjectIsVisibleVoter
,ProjectPlanPermissionAwareWebworkAclVoter
,ProjectRepositoryAdminWebworkAclVoter
public class WebworkAclVoter extends AbstractBambooAclEntryVoter
-
-
Constructor Summary
Constructors Constructor Description WebworkAclVoter(org.acegisecurity.acls.AclService aclService, String processConfigAttribute, org.acegisecurity.acls.Permission[] requirePermission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @Nullable Object
getDomainObjectInstance(Object secureObject)
boolean
supports(Class clazz)
int
vote(org.acegisecurity.Authentication authentication, Object object, org.acegisecurity.ConfigAttributeDefinition config)
Overridden logic of voting for the custom flow of WebWorks/Struts.-
Methods inherited from class com.atlassian.bamboo.security.acegi.vote.AbstractBambooAclEntryVoter
getAclService, getInnerDomainObject, getObjectIdentityRetrievalStrategy, getRequirePermission, getSidRetrievalStrategy, setObjectIdentityRetrievalStrategy, setSidRetrievalStrategy, toString, vote
-
Methods inherited from class org.acegisecurity.vote.AclEntryVoter
getInternalMethod, getProcessConfigAttribute, setInternalMethod, supports
-
-
-
-
Constructor Detail
-
WebworkAclVoter
public WebworkAclVoter(org.acegisecurity.acls.AclService aclService, String processConfigAttribute, org.acegisecurity.acls.Permission[] requirePermission)
-
-
Method Detail
-
vote
public int vote(org.acegisecurity.Authentication authentication, Object object, org.acegisecurity.ConfigAttributeDefinition config)
Overridden logic of voting for the custom flow of WebWorks/Struts.- Specified by:
vote
in interfaceorg.acegisecurity.vote.AccessDecisionVoter
- Overrides:
vote
in classAbstractBambooAclEntryVoter
-
getDomainObjectInstance
@Nullable protected @Nullable Object getDomainObjectInstance(Object secureObject)
- Overrides:
getDomainObjectInstance
in classorg.acegisecurity.vote.AbstractAclVoter
-
supports
public boolean supports(Class clazz)
- Specified by:
supports
in interfaceorg.acegisecurity.vote.AccessDecisionVoter
- Overrides:
supports
in classorg.acegisecurity.vote.AbstractAclVoter
-
-