Class DynamicScopeExternalContext
java.lang.Object
io.jans.service.external.context.ExternalScriptContext
io.jans.as.server.service.external.context.ExternalScriptContext
io.jans.as.server.service.external.context.DynamicScopeExternalContext
Holds object required in dynamic scope custom scripts
- Author:
- Yuriy Movchan Date: 07/01/2015
-
Field Summary
Fields inherited from class io.jans.service.external.context.ExternalScriptContext
httpRequest, httpResponse
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicScopeExternalContext
(List<io.jans.as.persistence.model.Scope> dynamicScopes, io.jans.as.model.token.JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant) -
Method Summary
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getAuthzDetail, getAuthzRequest, getEntryAttributeValue, getEntryByDn, getExecutionContext, getPersistenceEntryManager, getRequestParameter, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
Methods inherited from class io.jans.service.external.context.ExternalScriptContext
getContextVariables, getHttpRequest, getHttpResponse, getIpAddress, getLog
-
Constructor Details
-
DynamicScopeExternalContext
public DynamicScopeExternalContext(List<io.jans.as.persistence.model.Scope> dynamicScopes, io.jans.as.model.token.JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
-
-
Method Details
-
getDynamicScopes
This method is used by scripts.- Returns:
- dynamic scopes as string
-
getScopes
-
getJsonWebResponse
public io.jans.as.model.token.JsonWebResponse getJsonWebResponse() -
getAuthorizationGrant
-
getUser
public io.jans.as.common.model.common.User getUser()
-