Class ConsentGatheringContext
- java.lang.Object
-
- org.gluu.service.external.context.ExternalScriptContext
-
- org.gluu.oxauth.service.external.context.ExternalScriptContext
-
- org.gluu.oxauth.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,org.gluu.model.SimpleCustomProperty> configurationAttributes, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, SessionId session, java.util.Map<java.lang.String,java.lang.String> pageAttributes, ConsentGatheringSessionService sessionService, UserService userService, org.gluu.jsf2.service.FacesService facesService, 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)
AppConfiguration
getAppConfiguration()
Client
getClient()
java.util.Map<java.lang.String,org.gluu.model.SimpleCustomProperty>
getConfigurationAttributes()
java.util.Map<java.lang.String,java.lang.String>
getConnectSessionAttributes()
org.gluu.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()
User
getUser(java.lang.String... returnAttributes)
java.lang.String
getUserDn()
UserService
getUserService()
boolean
isAuthenticated()
void
persist()
Must not take any parametersvoid
removeSessionAttribute(java.lang.String key)
void
setStep(int step)
-
Methods inherited from class org.gluu.oxauth.service.external.context.ExternalScriptContext
getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, isInNetwork
-
-
-
-
Constructor Detail
-
ConsentGatheringContext
public ConsentGatheringContext(java.util.Map<java.lang.String,org.gluu.model.SimpleCustomProperty> configurationAttributes, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, SessionId session, java.util.Map<java.lang.String,java.lang.String> pageAttributes, ConsentGatheringSessionService sessionService, UserService userService, org.gluu.jsf2.service.FacesService facesService, AppConfiguration appConfiguration)
-
-
Method Detail
-
getConfigurationAttributes
public java.util.Map<java.lang.String,org.gluu.model.SimpleCustomProperty> getConfigurationAttributes()
-
getUser
public User getUser(java.lang.String... returnAttributes)
-
getUserDn
public java.lang.String getUserDn()
-
getClient
public 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 UserService getUserService()
-
getFacesService
public org.gluu.jsf2.service.FacesService getFacesService()
-
getAppConfiguration
public AppConfiguration getAppConfiguration()
-
-