com.atlassian.bamboo.security
Class BambooPermissionManager

java.lang.Object
  extended by com.atlassian.bamboo.security.BambooPermissionManager

public class BambooPermissionManager
extends java.lang.Object


Field Summary
static java.lang.String ROLE_AMDIN
           
static org.acegisecurity.adapters.PrincipalAcegiUserToken SYSTEM_AUTHORITY
           
 
Constructor Summary
BambooPermissionManager()
           
 
Method Summary
 Persister getPersister()
           
 boolean hasGlobalPermission(java.lang.String permission)
           
 boolean hasPermission(java.lang.String permission, java.lang.Object object)
           
 boolean hasPlanPermission(java.lang.String permission, java.lang.String buildKey)
           
 boolean isEnableAnonymousAccess()
          Deprecated. 
 boolean isEnableSignup()
           
 void setAclService(org.acegisecurity.acls.MutableAclService aclService)
           
 void setBuildManager(BuildManager buildManager)
           
 void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
           
 void setPersister(Persister persister)
           
 void setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_AMDIN

public static final java.lang.String ROLE_AMDIN
See Also:
Constant Field Values

SYSTEM_AUTHORITY

public static final org.acegisecurity.adapters.PrincipalAcegiUserToken SYSTEM_AUTHORITY
Constructor Detail

BambooPermissionManager

public BambooPermissionManager()
Method Detail

hasPermission

public boolean hasPermission(java.lang.String permission,
                             java.lang.Object object)

hasPlanPermission

public boolean hasPlanPermission(java.lang.String permission,
                                 java.lang.String buildKey)

hasGlobalPermission

public boolean hasGlobalPermission(java.lang.String permission)

isEnableSignup

public boolean isEnableSignup()

isEnableAnonymousAccess

@Deprecated
public boolean isEnableAnonymousAccess()
Deprecated. 

Returns:

getPersister

public Persister getPersister()

setPersister

public void setPersister(Persister persister)

setAclService

public void setAclService(org.acegisecurity.acls.MutableAclService aclService)

setSidRetrievalStrategy

public void setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy)

setBuildManager

public void setBuildManager(BuildManager buildManager)

setOverrideAuthorities

public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.