Class BambooCachingPermissionManagerFacadeImpl

java.lang.Object
com.atlassian.bamboo.security.BambooCachingPermissionManagerFacadeImpl
All Implemented Interfaces:
BambooCachingPermissionManagerFacade

public class BambooCachingPermissionManagerFacadeImpl extends Object implements BambooCachingPermissionManagerFacade
  • Constructor Details

    • BambooCachingPermissionManagerFacadeImpl

      public BambooCachingPermissionManagerFacadeImpl(CachedPlanManager cachedPlanManager)
  • Method Details

    • hasPlanPermission

      public boolean hasPlanPermission(BambooPermission permission, long planId)
      Description copied from interface: BambooCachingPermissionManagerFacade
      Return true if currently authenticated principal has a permission to plan
      Specified by:
      hasPlanPermission in interface BambooCachingPermissionManagerFacade
      Parameters:
      permission - permission type
      Returns:
      true iff permissions is granted
    • hasPlanPermission

      public boolean hasPlanPermission(BambooPermission permission, PlanKey planKey)
      Specified by:
      hasPlanPermission in interface BambooCachingPermissionManagerFacade
      Parameters:
      permission - permission type
      planKey - Plan key
      Returns:
      true if currently authenticated principal has a permission to plan
    • hasPermission

      public boolean hasPermission(org.acegisecurity.acls.Permission permission, @NotNull @NotNull Object object)
      Description copied from interface: BambooCachingPermissionManagerFacade
      Return true if currently authenticated principal has a permission to an object
      Specified by:
      hasPermission in interface BambooCachingPermissionManagerFacade
      Parameters:
      permission - permission type
      object - protected entity
      Returns:
      true iff permissions is granted
    • setSidRetrievalStrategy

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

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

      public void setObjectIdentityRetrievalStrategy(org.acegisecurity.acls.objectidentity.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
    • setBambooUserManager

      public void setBambooUserManager(BambooUserManager bambooUserManager)
    • setOverrideAuthorities

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

      public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
    • setProjectManager

      public void setProjectManager(ProjectManager projectManager)
    • setAdministrationConfigurationAccessor

      public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
    • setScopesRequestCacheDelegate

      public void setScopesRequestCacheDelegate(ScopesRequestCacheDelegate scopesRequestCacheDelegate)