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
ConstructorDescriptionBambooCachingPermissionManagerFacadeImpl
(CachedPlanManager cachedPlanManager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
BambooCachingPermissionManagerFacadeImpl
-
-
Method Details
-
hasPlanPermission
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
- 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
-
setOverrideAuthorities
public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities) -
setCachedPlanManager
-
setProjectManager
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) -
setScopesRequestCacheDelegate
-