Class UmaGatherContext

    • Constructor Detail

      • UmaGatherContext

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

      • getConfigurationAttributes

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

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

        public String getUserDn()
      • getClient

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

        public Map<String,​String> getConnectSessionAttributes()
      • isAuthenticated

        public boolean isAuthenticated()
      • getRequestParameters

        public Map<String,​String[]> getRequestParameters()
      • getStep

        public int getStep()
      • setStep

        public void setStep​(int step)
      • addSessionAttribute

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

        public void removeSessionAttribute​(String key)
      • getSessionAttributes

        public Map<String,​String> getSessionAttributes()
      • addRedirectUserParam

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

        public void removeRedirectUserParameter​(String paramName)
      • getRedirectUserParametersMap

        public Map<String,​Set<String>> getRedirectUserParametersMap()
      • getPermissions

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

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

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

        public void removeClaim​(String claimName)
      • hasClaim

        public boolean hasClaim​(String claimName)
      • persist

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

        public void redirectToExternalUrl​(String url)
      • getRedirectToExternalUrl

        public String getRedirectToExternalUrl()
      • getAuthorizationEndpoint

        public String getAuthorizationEndpoint()
      • getIssuer

        public String getIssuer()
      • getBaseEndpoint

        public String getBaseEndpoint()
      • getClaimsGatheringEndpoint

        public String getClaimsGatheringEndpoint()