com.atlassian.bamboo.security.acegi.vote
Class WebworkNewObjectAclVoter

java.lang.Object
  extended by com.atlassian.bamboo.security.acegi.vote.WebworkNewObjectAclVoter
All Implemented Interfaces:
org.acegisecurity.vote.AccessDecisionVoter

public class WebworkNewObjectAclVoter
extends java.lang.Object
implements org.acegisecurity.vote.AccessDecisionVoter


Field Summary
 
Fields inherited from interface org.acegisecurity.vote.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
 
Constructor Summary
WebworkNewObjectAclVoter(java.lang.String processConfigAttribute)
           
 
Method Summary
protected  java.lang.Object getDomainObjectInstance(java.lang.Object secureObject)
           
 java.lang.String getProcessConfigAttribute()
           
 void setProcessConfigAttribute(java.lang.String processConfigAttribute)
           
 boolean supports(java.lang.Class clazz)
           
 boolean supports(org.acegisecurity.ConfigAttribute attribute)
           
 int vote(org.acegisecurity.Authentication authentication, java.lang.Object object, org.acegisecurity.ConfigAttributeDefinition config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebworkNewObjectAclVoter

public WebworkNewObjectAclVoter(java.lang.String processConfigAttribute)
Method Detail

vote

public int vote(org.acegisecurity.Authentication authentication,
                java.lang.Object object,
                org.acegisecurity.ConfigAttributeDefinition config)
Specified by:
vote in interface org.acegisecurity.vote.AccessDecisionVoter

getDomainObjectInstance

protected java.lang.Object getDomainObjectInstance(java.lang.Object secureObject)

supports

public boolean supports(java.lang.Class clazz)
Specified by:
supports in interface org.acegisecurity.vote.AccessDecisionVoter

supports

public boolean supports(org.acegisecurity.ConfigAttribute attribute)
Specified by:
supports in interface org.acegisecurity.vote.AccessDecisionVoter

getProcessConfigAttribute

public java.lang.String getProcessConfigAttribute()

setProcessConfigAttribute

public void setProcessConfigAttribute(java.lang.String processConfigAttribute)


Copyright © 2012 Atlassian. All Rights Reserved.