Class ConfluenceScopesRequestCacheImpl

java.lang.Object
com.atlassian.confluence.internal.api.security.impl.ConfluenceScopesRequestCacheImpl
All Implemented Interfaces:
ConfluenceScopesRequestCache

public class ConfluenceScopesRequestCacheImpl extends Object implements ConfluenceScopesRequestCache
Since:
9.4
See Also:
  • Constructor Details

    • ConfluenceScopesRequestCacheImpl

      public ConfluenceScopesRequestCacheImpl(ScopesRequestCacheDelegate scopesRequestCacheDelegate)
  • Method Details

    • isScopePermitted

      public boolean isScopePermitted(String scope)
      Description copied from interface: ConfluenceScopesRequestCache
      Checks if the current request has credentials or an access token that permits the given scope.
      Specified by:
      isScopePermitted in interface ConfluenceScopesRequestCache
      Parameters:
      scope - the scope to check
      Returns:
      true, if the scope is permitted for the current request