Package com.atlassian.bamboo.security
Class DefaultScopesRequestCacheDelegate
java.lang.Object
com.atlassian.bamboo.security.DefaultScopesRequestCacheDelegate
- All Implemented Interfaces:
ScopesRequestCacheDelegate
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScopesRequestCacheDelegate(com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCachebooleanhasGlobalPermission(BambooPermission permission) True iff the current scope allows specified global permission to be granted for current user, in current request scope.booleanhasPermission(BambooPermission permission) True iff the current scope allows specified object-level (plan, deployment,...) permission to be granted for current user, in current request scope.voidsetRequestCache(com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache requestCache)
-
Constructor Details
-
DefaultScopesRequestCacheDelegate
public DefaultScopesRequestCacheDelegate(com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager)
-
-
Method Details
-
hasPermission
Description copied from interface:ScopesRequestCacheDelegateTrue iff the current scope allows specified object-level (plan, deployment,...) permission to be granted for current user, in current request scope.- Specified by:
hasPermissionin interfaceScopesRequestCacheDelegate
-
hasGlobalPermission
Description copied from interface:ScopesRequestCacheDelegateTrue iff the current scope allows specified global permission to be granted for current user, in current request scope.- Specified by:
hasGlobalPermissionin interfaceScopesRequestCacheDelegate
-
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
-