Class UmaSessionService


  • @Named
    public class UmaSessionService
    extends java.lang.Object
    Version:
    December 8, 2018
    Author:
    yuriyz
    • Constructor Detail

      • UmaSessionService

        public UmaSessionService()
    • Method Detail

      • getConnectSession

        public SessionId getConnectSession​(javax.servlet.http.HttpServletRequest httpRequest)
      • getSession

        public SessionId getSession​(javax.servlet.http.HttpServletRequest httpRequest,
                                    javax.servlet.http.HttpServletResponse httpResponse)
      • persist

        public boolean persist​(SessionId session)
      • getStep

        public int getStep​(SessionId session)
      • setStep

        public void setStep​(int step,
                            SessionId session)
      • configure

        public void configure​(SessionId session,
                              java.lang.String scriptName,
                              java.util.List<io.jans.as.model.uma.persistence.UmaPermission> permissions,
                              java.lang.String clientId,
                              java.lang.String claimRedirectUri,
                              java.lang.String state)
      • isStepPassed

        public boolean isStepPassed​(SessionId session,
                                    java.lang.Integer step)
      • isPassedPreviousSteps

        public boolean isPassedPreviousSteps​(SessionId session,
                                             java.lang.Integer step)
      • markStep

        public void markStep​(SessionId session,
                             java.lang.Integer step,
                             boolean value)
      • getScriptName

        public java.lang.String getScriptName​(SessionId session)
      • setScriptName

        public void setScriptName​(SessionId session,
                                  java.lang.String scriptName)
      • getPct

        public java.lang.String getPct​(SessionId session)
      • setPct

        public void setPct​(SessionId session,
                           java.lang.String pct)
      • getClientId

        public java.lang.String getClientId​(SessionId session)
      • setClientId

        public void setClientId​(SessionId session,
                                java.lang.String clientId)
      • getClaimsRedirectUri

        public java.lang.String getClaimsRedirectUri​(SessionId session)
      • setClaimsRedirectUri

        public void setClaimsRedirectUri​(SessionId session,
                                         java.lang.String claimsRedirectUri)
      • getState

        public java.lang.String getState​(SessionId session)
      • setState

        public void setState​(SessionId session,
                             java.lang.String state)
      • getTicket

        public java.lang.String getTicket​(SessionId session)
      • setTicket

        public void setTicket​(SessionId session,
                              java.lang.String ticket)
      • resetToStep

        public void resetToStep​(SessionId session,
                                int overridenNextStep,
                                int step)
      • getUser

        public io.jans.as.common.model.common.User getUser​(javax.servlet.http.HttpServletRequest httpRequest)
      • getUserDn

        public java.lang.String getUserDn​(javax.servlet.http.HttpServletRequest httpRequest)
      • getClient

        public io.jans.as.common.model.registration.Client getClient​(SessionId session)