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
-
Field Summary
Fields inherited from interface org.acegisecurity.vote.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
-
Constructor Summary
ConstructorsConstructorDescriptionRestrictedAdminAwareVoter
(org.acegisecurity.acls.AclService aclService, String processConfigAttribute, org.acegisecurity.acls.Permission[] requirePermission) -
Method Summary
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
Methods inherited from class org.acegisecurity.vote.AbstractAclVoter
getProcessDomainObjectClass, setProcessDomainObjectClass, supports
-
Constructor Details
-
RestrictedAdminAwareVoter
public RestrictedAdminAwareVoter(org.acegisecurity.acls.AclService aclService, String processConfigAttribute, org.acegisecurity.acls.Permission[] requirePermission)
-
-
Method Details
-
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
-