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 voidclearRequestCache()Optional<String>getApplicationNameForRequest()com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCachegetRequestCache()booleanhasPermission(BambooPermission permission)voidsetRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
-
-
-
Method Detail
-
hasPermission
public boolean hasPermission(BambooPermission permission)
- Specified by:
hasPermissionin interfaceScopesRequestCacheDelegate
-
getApplicationNameForRequest
public Optional<String> getApplicationNameForRequest()
- Specified by:
getApplicationNameForRequestin interfaceScopesRequestCacheDelegate
-
getRequestCache
public com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache getRequestCache()
- Specified by:
getRequestCachein interfaceScopesRequestCacheDelegate
-
setRequestCache
public void setRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
- Specified by:
setRequestCachein interfaceScopesRequestCacheDelegate
-
clearRequestCache
public void clearRequestCache()
- Specified by:
clearRequestCachein interfaceScopesRequestCacheDelegate
-
-