Interface ScopeContext
public interface ScopeContext
Represents a context for the per-request scope check security procedure.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Resets the state context's state.voidsetAccessToken(String accessToken) Inserts the access token string into the context.voidsetApplicationName(String applicationName) Inserts the application name into the context.voidsetBundle(org.osgi.framework.Bundle bundle) Inserts the OSGi bundle into the context.voidsetCompanyId(long companyId) Inserts the portal instance's ID into the context.
-
Method Details
-
clear
void clear()Resets the state context's state. -
getAccessToken
String getAccessToken() -
getApplicationName
String getApplicationName() -
getBundleSymbolicName
String getBundleSymbolicName() -
getCompanyId
Long getCompanyId() -
setAccessToken
Inserts the access token string into the context.- Parameters:
accessToken- the access token
-
setApplicationName
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
-