public class BambooCachingPermissionManagerFacadeImpl extends Object implements BambooCachingPermissionManagerFacade
Constructor and Description |
---|
BambooCachingPermissionManagerFacadeImpl(CachedPlanManager cachedPlanManager) |
Modifier and Type | Method and Description |
---|---|
<T,A,R extends Iterable<?>> |
aclCachePrimerCollector(Collector<T,A,R> collector)
Return a wrapping collector which will call
BambooCachingPermissionManagerFacade.primeAclCache(Iterable) on a result returned by finisher of collector |
boolean |
hasPermission(org.acegisecurity.acls.Permission permission,
Object plan) |
boolean |
hasPlanPermission(BambooPermission permission,
long planId)
Return true if currently authenticated principal has a permission to plan
|
boolean |
hasPlanPermission(BambooPermission permission,
PlanKey planKey)
Return true if currently authenticated principal has a permission to plan
|
void |
primeAclCache(Iterable<?> objects)
Adds ACLs for supplied objects to cache.
|
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 |
setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy) |
public BambooCachingPermissionManagerFacadeImpl(CachedPlanManager cachedPlanManager)
public boolean hasPlanPermission(BambooPermission permission, long planId)
BambooCachingPermissionManagerFacade
hasPlanPermission
in interface BambooCachingPermissionManagerFacade
permission
- permission typeplanId
- Plan idpublic boolean hasPlanPermission(BambooPermission permission, PlanKey planKey)
BambooCachingPermissionManagerFacade
hasPlanPermission
in interface BambooCachingPermissionManagerFacade
permission
- permission typeplanKey
- Plan keypublic boolean hasPermission(org.acegisecurity.acls.Permission permission, @NotNull Object plan)
hasPermission
in interface BambooCachingPermissionManagerFacade
public void primeAclCache(@NotNull Iterable<?> objects)
BambooCachingPermissionManagerFacade
primeAclCache
in interface BambooCachingPermissionManagerFacade
public <T,A,R extends Iterable<?>> Collector<T,A,R> aclCachePrimerCollector(Collector<T,A,R> collector)
BambooCachingPermissionManagerFacade
BambooCachingPermissionManagerFacade.primeAclCache(Iterable)
on a result returned by finisher of collectoraclCachePrimerCollector
in interface BambooCachingPermissionManagerFacade
public void setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy)
public void setAclService(org.acegisecurity.acls.MutableAclService aclService)
public void setObjectIdentityRetrievalStrategy(org.acegisecurity.acls.objectidentity.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
public void setBambooUserManager(BambooUserManager bambooUserManager)
public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setProjectManager(ProjectManager projectManager)
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.