public class SessionStateSupport extends Object
InterRequestStateMgmt to replicate or share the data in a clustered environment.| Constructor and Description |
|---|
SessionStateSupport() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Retrieves a named attribute from the the user session (as determined by the request)
|
Object |
removeAttribute(String name,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Removes a named attribute from the the user session (as determined by the request)
|
void |
setAttribute(String name,
Object value,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Deprecated.
As of release 6.5, replaced by
setAttribute(String, Object, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean) |
void |
setAttribute(String name,
Object value,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
boolean usedAsLoginCtx)
Sets or associates a named attribute with the user session (as determined by the request)
|
public void setAttribute(String name, Object value, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
setAttribute(String, Object, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)name - the name of the attributevalue - the attribute valuereq - resp - public void setAttribute(String name, Object value, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean usedAsLoginCtx)
name - the name of the attributevalue - the attribute valuereq - resp - usedAsLoginCtx - Instructs the the underlying state mechanism (if appropriate) as to if certain mitigation steps against session fixation should be taken.
Use true, if the attribute is used to maintain a security or login context, and false otherwise.public Object getAttribute(String name, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
name - name the name of the attributereq - resp - public Object removeAttribute(String name, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
name - name the name of the attributereq - resp - Copyright 2019 Ping Identity Corp. All rights reserved.