Class ConsentGatheringContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ConsentGatheringContext
-
public class ConsentGatheringContext extends ExternalScriptContext
- Author:
- Yuriy Movchan Date: 10/30/2017
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSessionAttribute(java.lang.String key, java.lang.String value)
io.jans.as.model.configuration.AppConfiguration
getAppConfiguration()
io.jans.as.common.model.registration.Client
getClient()
java.util.Map<java.lang.String,io.jans.model.SimpleCustomProperty>
getConfigurationAttributes()
java.util.Map<java.lang.String,java.lang.String>
getConnectSessionAttributes()
io.jans.jsf2.service.FacesService
getFacesService()
java.util.Map<java.lang.String,java.lang.String>
getPageAttributes()
java.util.Map<java.lang.String,java.lang.String[]>
getRequestParameters()
java.util.Map<java.lang.String,java.lang.String>
getSessionAttributes()
int
getStep()
io.jans.as.common.model.common.User
getUser(java.lang.String... returnAttributes)
java.lang.String
getUserDn()
io.jans.as.common.service.common.UserService
getUserService()
boolean
isAuthenticated()
void
persist()
Must not take any parametersvoid
removeSessionAttribute(java.lang.String key)
void
setStep(int step)
-
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
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()
-
-