Package io.jans.as.server.model.common
Class ExecutionContext
- java.lang.Object
-
- io.jans.as.server.model.common.ExecutionContext
-
public class ExecutionContext extends java.lang.Object
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description ExecutionContext()
ExecutionContext(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenEntity
getAccessTokenEntity()
io.jans.as.model.configuration.AppConfiguration
getAppConfiguration()
@Nullable java.lang.String
getAttribute(@NotNull java.lang.String key)
@NotNull java.util.Map<java.lang.String,java.lang.String>
getAttributes()
io.jans.as.common.service.AttributeService
getAttributeService()
OAuth2AuditLog
getAuditLog()
java.lang.String
getCertAsPem()
java.lang.String
getClaimsAsString()
io.jans.as.common.model.registration.Client
getClient()
java.lang.String
getDeviceSecret()
java.lang.String
getDpop()
AuthorizationGrant
getGrant()
jakarta.servlet.http.HttpServletRequest
getHttpRequest()
jakarta.servlet.http.HttpServletResponse
getHttpResponse()
TokenEntity
getIdTokenEntity()
java.lang.String
getNonce()
java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void>
getPostProcessor()
java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void>
getPreProcessing()
TokenEntity
getRefreshTokenEntity()
jakarta.ws.rs.core.Response.ResponseBuilder
getResponseBuilder()
java.util.Set<java.lang.String>
getScopes()
io.jans.model.custom.script.conf.CustomScriptConfiguration
getScript()
java.lang.String
getState()
java.util.List<io.jans.as.common.model.session.SessionId>
getUserSessions()
boolean
isIncludeIdTokenClaims()
void
setAccessTokenEntity(TokenEntity accessTokenEntity)
void
setAppConfiguration(io.jans.as.model.configuration.AppConfiguration appConfiguration)
void
setAttributeService(io.jans.as.common.service.AttributeService attributeService)
void
setAuditLog(OAuth2AuditLog auditLog)
void
setCertAsPem(java.lang.String certAsPem)
void
setClaimsAsString(java.lang.String claimsAsString)
ExecutionContext
setClient(io.jans.as.common.model.registration.Client client)
void
setDeviceSecret(java.lang.String deviceSecret)
void
setDpop(java.lang.String dpop)
void
setGrant(AuthorizationGrant grant)
void
setHttpRequest(jakarta.servlet.http.HttpServletRequest httpRequest)
void
setHttpResponse(jakarta.servlet.http.HttpServletResponse httpResponse)
void
setIdTokenEntity(TokenEntity idTokenEntity)
void
setIncludeIdTokenClaims(boolean includeIdTokenClaims)
void
setNonce(java.lang.String nonce)
void
setPostProcessor(java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> postProcessor)
void
setPreProcessing(java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> preProcessing)
void
setRefreshTokenEntity(TokenEntity refreshTokenEntity)
void
setResponseBuilder(jakarta.ws.rs.core.Response.ResponseBuilder responseBuilder)
void
setScopes(java.util.Set<java.lang.String> scopes)
void
setScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)
void
setState(java.lang.String state)
void
setUserSessions(java.util.List<io.jans.as.common.model.session.SessionId> userSessions)
-
-
-
Method Detail
-
getDeviceSecret
public java.lang.String getDeviceSecret()
-
setDeviceSecret
public void setDeviceSecret(java.lang.String deviceSecret)
-
getAttributes
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
getAttribute
@Nullable public @Nullable java.lang.String getAttribute(@NotNull @NotNull java.lang.String key)
-
getHttpRequest
public jakarta.servlet.http.HttpServletRequest getHttpRequest()
-
getHttpResponse
public jakarta.servlet.http.HttpServletResponse getHttpResponse()
-
getAuditLog
public OAuth2AuditLog getAuditLog()
-
setAuditLog
public void setAuditLog(OAuth2AuditLog auditLog)
-
getClient
public io.jans.as.common.model.registration.Client getClient()
-
setClient
public ExecutionContext setClient(io.jans.as.common.model.registration.Client client)
-
setHttpRequest
public void setHttpRequest(jakarta.servlet.http.HttpServletRequest httpRequest)
-
setHttpResponse
public void setHttpResponse(jakarta.servlet.http.HttpServletResponse httpResponse)
-
getGrant
public AuthorizationGrant getGrant()
-
setGrant
public void setGrant(AuthorizationGrant grant)
-
getAppConfiguration
public io.jans.as.model.configuration.AppConfiguration getAppConfiguration()
-
setAppConfiguration
public void setAppConfiguration(io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
getAttributeService
public io.jans.as.common.service.AttributeService getAttributeService()
-
setAttributeService
public void setAttributeService(io.jans.as.common.service.AttributeService attributeService)
-
getScript
public io.jans.model.custom.script.conf.CustomScriptConfiguration getScript()
-
setScript
public void setScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)
-
getIdTokenEntity
public TokenEntity getIdTokenEntity()
-
setIdTokenEntity
public void setIdTokenEntity(TokenEntity idTokenEntity)
-
getAccessTokenEntity
public TokenEntity getAccessTokenEntity()
-
setAccessTokenEntity
public void setAccessTokenEntity(TokenEntity accessTokenEntity)
-
getRefreshTokenEntity
public TokenEntity getRefreshTokenEntity()
-
setRefreshTokenEntity
public void setRefreshTokenEntity(TokenEntity refreshTokenEntity)
-
getDpop
public java.lang.String getDpop()
-
setDpop
public void setDpop(java.lang.String dpop)
-
getCertAsPem
public java.lang.String getCertAsPem()
-
setCertAsPem
public void setCertAsPem(java.lang.String certAsPem)
-
isIncludeIdTokenClaims
public boolean isIncludeIdTokenClaims()
-
setIncludeIdTokenClaims
public void setIncludeIdTokenClaims(boolean includeIdTokenClaims)
-
getPreProcessing
public java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> getPreProcessing()
-
setPreProcessing
public void setPreProcessing(java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> preProcessing)
-
getPostProcessor
public java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> getPostProcessor()
-
setPostProcessor
public void setPostProcessor(java.util.function.Function<io.jans.as.model.token.JsonWebResponse,java.lang.Void> postProcessor)
-
getScopes
public java.util.Set<java.lang.String> getScopes()
-
setScopes
public void setScopes(java.util.Set<java.lang.String> scopes)
-
getClaimsAsString
public java.lang.String getClaimsAsString()
-
setClaimsAsString
public void setClaimsAsString(java.lang.String claimsAsString)
-
getNonce
public java.lang.String getNonce()
-
setNonce
public void setNonce(java.lang.String nonce)
-
getState
public java.lang.String getState()
-
setState
public void setState(java.lang.String state)
-
getUserSessions
public java.util.List<io.jans.as.common.model.session.SessionId> getUserSessions()
-
setUserSessions
public void setUserSessions(java.util.List<io.jans.as.common.model.session.SessionId> userSessions)
-
getResponseBuilder
public jakarta.ws.rs.core.Response.ResponseBuilder getResponseBuilder()
-
setResponseBuilder
public void setResponseBuilder(jakarta.ws.rs.core.Response.ResponseBuilder responseBuilder)
-
-