Class ConsentGatheringContext


  • public class ConsentGatheringContext
    extends ExternalScriptContext
    Author:
    Yuriy Movchan Date: 10/30/2017
    • Constructor Detail

      • ConsentGatheringContext

        public ConsentGatheringContext​(java.util.Map<java.lang.String,​io.jans.model.SimpleCustomProperty> configurationAttributes,
                                       jakarta.servlet.http.HttpServletRequest httpRequest,
                                       jakarta.servlet.http.HttpServletResponse httpResponse,
                                       io.jans.as.common.model.session.SessionId session,
                                       java.util.Map<java.lang.String,​java.lang.String> pageAttributes,
                                       ConsentGatheringSessionService sessionService,
                                       io.jans.as.common.service.common.UserService userService,
                                       io.jans.jsf2.service.FacesService facesService,
                                       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​(java.lang.String... returnAttributes)
      • 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()
      • getPageAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getPageAttributes()
      • 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()
      • persist

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

        public io.jans.as.common.service.common.UserService getUserService()
      • getFacesService

        public io.jans.jsf2.service.FacesService getFacesService()
      • getAppConfiguration

        public io.jans.as.model.configuration.AppConfiguration getAppConfiguration()