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
- Author:
- Yuriy Movchan Date: 10/30/2017
-
Field Summary
Fields inherited from class io.jans.service.external.context.ExternalScriptContext
httpRequest, httpResponse -
Constructor Summary
ConstructorsConstructorDescriptionConsentGatheringContext(Map<String, io.jans.model.SimpleCustomProperty> configurationAttributes, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, io.jans.as.common.model.session.SessionId session, Map<String, 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
Modifier and TypeMethodDescriptionvoidaddSessionAttribute(String key, String value) io.jans.as.model.configuration.AppConfigurationio.jans.as.common.model.registration.Clientio.jans.jsf2.service.FacesServiceintgetStep()io.jans.as.common.model.common.Userio.jans.as.common.service.common.UserServicebooleanvoidpersist()Must not take any parametersvoidvoidsetStep(int step) Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getAuthzDetail, getAuthzRequest, getEntryAttributeValue, getEntryByDn, getExecutionContext, getPersistenceEntryManager, getRequestParameter, getWebApplicationException, isInNetwork, of, setWebApplicationException, throwWebApplicationExceptionIfSetMethods inherited from class io.jans.service.external.context.ExternalScriptContext
getContextVariables, getHttpRequest, getHttpResponse, getIpAddress, getLog
-
Constructor Details
-
ConsentGatheringContext
public ConsentGatheringContext(Map<String, io.jans.model.SimpleCustomProperty> configurationAttributes, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, io.jans.as.common.model.session.SessionId session, Map<String, 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 Details
-
getConfigurationAttributes
-
getUser
-
getUserDn
-
getClient
public io.jans.as.common.model.registration.Client getClient() -
getConnectSessionAttributes
-
isAuthenticated
public boolean isAuthenticated() -
getPageAttributes
-
getRequestParameters
-
getStep
public int getStep() -
setStep
public void setStep(int step) -
addSessionAttribute
-
removeSessionAttribute
-
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()
-