Class RestrictedAdminAwareVoter
- 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
-
- com.atlassian.bamboo.security.acegi.vote.RestrictedAdminAwareVoter
-
- All Implemented Interfaces:
org.acegisecurity.vote.AccessDecisionVoter
- Direct Known Subclasses:
GlobalVoter
public class RestrictedAdminAwareVoter extends ProjectPlanPermissionAwareVoter
-
-
Constructor Summary
Constructors Constructor Description RestrictedAdminAwareVoter(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 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.ProjectPlanPermissionAwareVoter
getDomainObjectInstance
-
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
-
RestrictedAdminAwareVoter
public RestrictedAdminAwareVoter(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 classProjectPlanPermissionAwareVoter
-
-