Interface ScopeContext


public interface ScopeContext
Represents a context for the per-request scope check security procedure.
  • Method Details

    • clear

      void clear()
      Resets the state context's state.
    • getAccessToken

      String getAccessToken()
    • getApplicationName

      String getApplicationName()
    • getBundleSymbolicName

      String getBundleSymbolicName()
    • getCompanyId

      Long getCompanyId()
    • setAccessToken

      void setAccessToken(String accessToken)
      Inserts the access token string into the context.
      Parameters:
      accessToken - the access token
    • setApplicationName

      void setApplicationName(String applicationName)
      Inserts the application name into the context.
      Parameters:
      applicationName - the application name
    • setBundle

      void setBundle(org.osgi.framework.Bundle bundle)
      Inserts the OSGi bundle into the context.
      Parameters:
      bundle - the OSGi bundle
    • setCompanyId

      void setCompanyId(long companyId)
      Inserts the portal instance's ID into the context.
      Parameters:
      companyId - the portal instance's ID