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 TypeMethodDescriptionvoid
addSessionAttribute
(String key, String value) io.jans.as.model.configuration.AppConfiguration
io.jans.as.common.model.registration.Client
io.jans.jsf2.service.FacesService
int
getStep()
io.jans.as.common.model.common.User
io.jans.as.common.service.common.UserService
boolean
void
persist()
Must not take any parametersvoid
void
setStep
(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, throwWebApplicationExceptionIfSet
Methods 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()
-