Package com.atlassian.bamboo.security
Class BambooCachingPermissionManagerFacadeImpl
- java.lang.Object
-
- com.atlassian.bamboo.security.BambooCachingPermissionManagerFacadeImpl
-
- All Implemented Interfaces:
BambooCachingPermissionManagerFacade
public class BambooCachingPermissionManagerFacadeImpl extends Object implements BambooCachingPermissionManagerFacade
-
-
Constructor Summary
Constructors Constructor Description BambooCachingPermissionManagerFacadeImpl(CachedPlanManager cachedPlanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasPermission(org.acegisecurity.acls.Permission permission, @NotNull Object object)
Return true if currently authenticated principal has a permission to an objectboolean
hasPlanPermission(BambooPermission permission, long planId)
Return true if currently authenticated principal has a permission to planboolean
hasPlanPermission(BambooPermission permission, PlanKey planKey)
void
setAclService(org.acegisecurity.acls.MutableAclService aclService)
void
setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
void
setBambooUserManager(BambooUserManager bambooUserManager)
void
setCachedPlanManager(CachedPlanManager cachedPlanManager)
void
setObjectIdentityRetrievalStrategy(org.acegisecurity.acls.objectidentity.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
void
setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
void
setProjectManager(ProjectManager projectManager)
void
setScopesRequestCacheDelegate(ScopesRequestCacheDelegate scopesRequestCacheDelegate)
void
setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy)
-
-
-
Constructor Detail
-
BambooCachingPermissionManagerFacadeImpl
public BambooCachingPermissionManagerFacadeImpl(CachedPlanManager cachedPlanManager)
-
-
Method Detail
-
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 interfaceBambooCachingPermissionManagerFacade
- Parameters:
permission
- permission type- Returns:
- true iff permissions is granted
-
hasPlanPermission
public boolean hasPlanPermission(BambooPermission permission, PlanKey planKey)
- Specified by:
hasPlanPermission
in interfaceBambooCachingPermissionManagerFacade
- Parameters:
permission
- permission typeplanKey
- 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 interfaceBambooCachingPermissionManagerFacade
- Parameters:
permission
- permission typeobject
- 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)
-
-