Package com.atlassian.bamboo.security
Class DefaultScopesRequestCacheDelegate
- java.lang.Object
-
- com.atlassian.bamboo.security.DefaultScopesRequestCacheDelegate
-
- All Implemented Interfaces:
ScopesRequestCacheDelegate
public class DefaultScopesRequestCacheDelegate extends Object implements ScopesRequestCacheDelegate
-
-
Constructor Summary
Constructors Constructor Description DefaultScopesRequestCacheDelegate(com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearRequestCache()
Optional<String>
getApplicationNameForRequest()
com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
getRequestCache()
boolean
hasPermission(BambooPermission permission)
void
setRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
-
-
-
Method Detail
-
hasPermission
public boolean hasPermission(BambooPermission permission)
- Specified by:
hasPermission
in interfaceScopesRequestCacheDelegate
-
getApplicationNameForRequest
public Optional<String> getApplicationNameForRequest()
- Specified by:
getApplicationNameForRequest
in interfaceScopesRequestCacheDelegate
-
getRequestCache
public com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache getRequestCache()
- Specified by:
getRequestCache
in interfaceScopesRequestCacheDelegate
-
setRequestCache
public void setRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
- Specified by:
setRequestCache
in interfaceScopesRequestCacheDelegate
-
clearRequestCache
public void clearRequestCache()
- Specified by:
clearRequestCache
in interfaceScopesRequestCacheDelegate
-
-