Class UmaGatherContext

    • Constructor Detail

      • UmaGatherContext

        public UmaGatherContext​(java.util.Map<java.lang.String,​io.jans.model.SimpleCustomProperty> configurationAttributes,
                                jakarta.servlet.http.HttpServletRequest httpRequest,
                                SessionId session,
                                UmaSessionService sessionService,
                                UmaPermissionService permissionService,
                                UmaPctService pctService,
                                java.util.Map<java.lang.String,​java.lang.String> pageClaims,
                                io.jans.as.model.configuration.AppConfiguration appConfiguration)
    • Method Detail

      • getConfigurationAttributes

        public java.util.Map<java.lang.String,​io.jans.model.SimpleCustomProperty> getConfigurationAttributes()
      • getUser

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

        public java.lang.String getUserDn()
      • getClient

        public io.jans.as.common.model.registration.Client getClient()
      • getConnectSessionAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getConnectSessionAttributes()
      • isAuthenticated

        public boolean isAuthenticated()
      • getPageClaims

        public java.util.Map<java.lang.String,​java.lang.String> getPageClaims()
      • getRequestParameters

        public java.util.Map<java.lang.String,​java.lang.String[]> getRequestParameters()
      • getStep

        public int getStep()
      • setStep

        public void setStep​(int step)
      • addSessionAttribute

        public void addSessionAttribute​(java.lang.String key,
                                        java.lang.String value)
      • removeSessionAttribute

        public void removeSessionAttribute​(java.lang.String key)
      • getSessionAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getSessionAttributes()
      • addRedirectUserParam

        public void addRedirectUserParam​(java.lang.String paramName,
                                         java.lang.String paramValue)
      • removeRedirectUserParameter

        public void removeRedirectUserParameter​(java.lang.String paramName)
      • getRedirectUserParametersMap

        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getRedirectUserParametersMap()
      • getPermissions

        public java.util.List<io.jans.as.model.uma.persistence.UmaPermission> getPermissions()
      • getClaims

        public io.jans.as.model.jwt.JwtClaims getClaims()
      • getClaim

        public java.lang.Object getClaim​(java.lang.String claimName)
      • putClaim

        public void putClaim​(java.lang.String claimName,
                             java.lang.Object claimValue)
      • removeClaim

        public void removeClaim​(java.lang.String claimName)
      • hasClaim

        public boolean hasClaim​(java.lang.String claimName)
      • persist

        public void persist()
        Must not take any parameters
      • redirectToExternalUrl

        public void redirectToExternalUrl​(java.lang.String url)
      • getRedirectToExternalUrl

        public java.lang.String getRedirectToExternalUrl()
      • getAuthorizationEndpoint

        public java.lang.String getAuthorizationEndpoint()
      • getIssuer

        public java.lang.String getIssuer()
      • getBaseEndpoint

        public java.lang.String getBaseEndpoint()
      • getClaimsGatheringEndpoint

        public java.lang.String getClaimsGatheringEndpoint()