public class DefaultScopesRequestCacheDelegate extends Object implements ScopesRequestCacheDelegate
Constructor and Description |
---|
DefaultScopesRequestCacheDelegate(com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager) |
Modifier and Type | Method and Description |
---|---|
void |
clearRequestCache() |
Optional<String> |
getApplicationNameForRequest() |
com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache |
getRequestCache() |
boolean |
hasPermission(GlobalPermissionEntry permission) |
boolean |
hasPermission(GlobalPermissionKey permission) |
boolean |
hasPermission(ProjectPermissionKey permission) |
void |
setRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache) |
public DefaultScopesRequestCacheDelegate(com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager)
public boolean hasPermission(GlobalPermissionKey permission)
hasPermission
in interface ScopesRequestCacheDelegate
public boolean hasPermission(ProjectPermissionKey permission)
hasPermission
in interface ScopesRequestCacheDelegate
public boolean hasPermission(GlobalPermissionEntry permission)
hasPermission
in interface ScopesRequestCacheDelegate
public Optional<String> getApplicationNameForRequest()
getApplicationNameForRequest
in interface ScopesRequestCacheDelegate
public com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache getRequestCache()
getRequestCache
in interface ScopesRequestCacheDelegate
public void setRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
setRequestCache
in interface ScopesRequestCacheDelegate
public void clearRequestCache()
clearRequestCache
in interface ScopesRequestCacheDelegate
Copyright © 2002-2022 Atlassian. All Rights Reserved.