public class BambooCachingPermissionManagerFacadeImpl extends Object implements BambooCachingPermissionManagerFacade
Constructor and Description |
---|
BambooCachingPermissionManagerFacadeImpl() |
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 permissionPlanId) |
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 |
setSidRetrievalStrategy(org.acegisecurity.acls.sid.SidRetrievalStrategy sidRetrievalStrategy) |
public BambooCachingPermissionManagerFacadeImpl()
public boolean hasPlanPermission(BambooPermission permission, long permissionPlanId)
hasPlanPermission
in interface BambooCachingPermissionManagerFacade
public boolean hasPermission(org.acegisecurity.acls.Permission permission, 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 setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.