Class ExecutionContext


  • public class ExecutionContext
    extends Object
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • ExecutionContext

        public ExecutionContext()
      • ExecutionContext

        public ExecutionContext​(jakarta.servlet.http.HttpServletRequest httpRequest,
                                jakarta.servlet.http.HttpServletResponse httpResponse)
    • Method Detail

      • of

        public static ExecutionContext of​(jakarta.faces.context.ExternalContext externalContext)
      • getStatusListIndex

        public Integer getStatusListIndex()
      • setStatusListIndex

        public void setStatusListIndex​(Integer statusListIndex)
      • generateRandomTokenReferenceId

        public String generateRandomTokenReferenceId()
      • getTokenReferenceId

        public String getTokenReferenceId()
      • setTokenReferenceId

        public void setTokenReferenceId​(String tokenReferenceId)
      • getAuthzDetails

        public io.jans.as.model.authzdetails.AuthzDetails getAuthzDetails()
      • setAuthzDetails

        public void setAuthzDetails​(io.jans.as.model.authzdetails.AuthzDetails authzDetails)
      • getAuthzDetail

        public io.jans.as.model.authzdetails.AuthzDetail getAuthzDetail()
      • setAuthzDetail

        public void setAuthzDetail​(io.jans.as.model.authzdetails.AuthzDetail authzDetail)
      • setAuthzRequest

        public void setAuthzRequest​(AuthzRequest authzRequest)
      • getUser

        public io.jans.as.common.model.common.User getUser()
      • setUser

        public void setUser​(io.jans.as.common.model.common.User user)
      • getAuthorizationChallengeSessionId

        public io.jans.as.common.model.session.SessionId getAuthorizationChallengeSessionId()
      • setAuthorizationChallengeSessionId

        public void setAuthorizationChallengeSessionId​(io.jans.as.common.model.session.SessionId authorizationChallengeSessionId)
      • getCurrentSessions

        public List<io.jans.as.common.model.session.SessionId> getCurrentSessions()
      • setCurrentSessions

        public void setCurrentSessions​(List<io.jans.as.common.model.session.SessionId> currentSessions)
      • getSessionId

        public io.jans.as.common.model.session.SessionId getSessionId()
      • setSessionId

        public void setSessionId​(io.jans.as.common.model.session.SessionId sessionId)
      • getDeviceSecret

        public String getDeviceSecret()
      • setDeviceSecret

        public void setDeviceSecret​(String deviceSecret)
      • isSkipModifyAccessTokenScript

        public boolean isSkipModifyAccessTokenScript()
      • setSkipModifyAccessTokenScript

        public void setSkipModifyAccessTokenScript​(boolean skipModifyAccessTokenScript)
      • getAttributes

        @NotNull
        public @NotNull Map<String,​String> getAttributes()
      • getAttribute

        @Nullable
        public @Nullable String getAttribute​(@NotNull
                                             @NotNull String key)
      • getHttpRequest

        public jakarta.servlet.http.HttpServletRequest getHttpRequest()
      • getHttpResponse

        public jakarta.servlet.http.HttpServletResponse getHttpResponse()
      • 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)
      • 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 io.jans.model.token.TokenEntity getIdTokenEntity()
      • setIdTokenEntity

        public void setIdTokenEntity​(io.jans.model.token.TokenEntity idTokenEntity)
      • getAccessTokenEntity

        public io.jans.model.token.TokenEntity getAccessTokenEntity()
      • setAccessTokenEntity

        public void setAccessTokenEntity​(io.jans.model.token.TokenEntity accessTokenEntity)
      • getRefreshTokenEntity

        public io.jans.model.token.TokenEntity getRefreshTokenEntity()
      • setRefreshTokenEntity

        public void setRefreshTokenEntity​(io.jans.model.token.TokenEntity refreshTokenEntity)
      • getDpop

        public String getDpop()
      • setDpop

        public void setDpop​(String dpop)
      • getCertAsPem

        public String getCertAsPem()
      • setCertAsPem

        public void setCertAsPem​(String certAsPem)
      • isIncludeIdTokenClaims

        public boolean isIncludeIdTokenClaims()
      • setIncludeIdTokenClaims

        public void setIncludeIdTokenClaims​(boolean includeIdTokenClaims)
      • getPreProcessing

        public Function<io.jans.as.model.token.JsonWebResponse,​Void> getPreProcessing()
      • setPreProcessing

        public void setPreProcessing​(Function<io.jans.as.model.token.JsonWebResponse,​Void> preProcessing)
      • getPostProcessor

        public Function<io.jans.as.model.token.JsonWebResponse,​Void> getPostProcessor()
      • setPostProcessor

        public void setPostProcessor​(Function<io.jans.as.model.token.JsonWebResponse,​Void> postProcessor)
      • setScopes

        public void setScopes​(Set<String> scopes)
      • getClaimsAsString

        public String getClaimsAsString()
      • setClaimsAsString

        public void setClaimsAsString​(String claimsAsString)
      • getNonce

        public String getNonce()
      • setNonce

        public void setNonce​(String nonce)
      • getState

        public String getState()
      • setState

        public void setState​(String state)
      • getUserSessions

        public List<io.jans.as.common.model.session.SessionId> getUserSessions()
      • setUserSessions

        public void setUserSessions​(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)
      • initFromGrantIfNeeded

        public void initFromGrantIfNeeded​(AuthorizationGrant authorizationGrant)