Class ProjectPlanPermissionAwareVoter
- java.lang.Object
-
- org.acegisecurity.vote.AbstractAclVoter
-
- org.acegisecurity.vote.AclEntryVoter
-
- com.atlassian.bamboo.security.acegi.vote.AbstractBambooAclEntryVoter
-
- com.atlassian.bamboo.security.acegi.vote.ProjectPlanPermissionAwareVoter
-
- All Implemented Interfaces:
org.acegisecurity.vote.AccessDecisionVoter
- Direct Known Subclasses:
RestrictedAdminAwareVoter
public class ProjectPlanPermissionAwareVoter extends AbstractBambooAclEntryVoter
-
-
Constructor Summary
Constructors Constructor Description ProjectPlanPermissionAwareVoter(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 Object
getDomainObjectInstance(Object secureObject)
int
vote(org.acegisecurity.Authentication authentication, Object secureObject, org.acegisecurity.ConfigAttributeDefinition config)
Copied and improved voting logic from the parent class.-
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
-
ProjectPlanPermissionAwareVoter
public ProjectPlanPermissionAwareVoter(org.acegisecurity.acls.AclService aclService, String processConfigAttribute, org.acegisecurity.acls.Permission[] requirePermission)
-
-
Method Detail
-
vote
public int vote(org.acegisecurity.Authentication authentication, Object secureObject, org.acegisecurity.ConfigAttributeDefinition config)
Description copied from class:AbstractBambooAclEntryVoter
Copied and improved voting logic from the parent class.- Specified by:
vote
in interfaceorg.acegisecurity.vote.AccessDecisionVoter
- Overrides:
vote
in classAbstractBambooAclEntryVoter
-
-