public interface SessionStateCleanable
ApplicationSessionStateSupport
.
The cleanSessionState(org.sourceid.saml20.adapter.state.ApplicationSessionStateSupport, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method is called when the user's idle or max
timeouts have been exceeded. Implementations of this class should remove all
attributes tied to the specific application session.ApplicationSessionStateSupport
Modifier and Type | Method and Description |
---|---|
void |
cleanSessionState(ApplicationSessionStateSupport applicationSessionStateSupport,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Clean session state of the attributes that are no longer necessary.
|
void cleanSessionState(ApplicationSessionStateSupport applicationSessionStateSupport, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
new ApplicationSessionStateSupport("MyApplicationKey", (sessionStateSupport, req, resp) -> sessionStateSupport.removeAttribute("AttributeKeyToRemove", req, resp));
applicationSessionStateSupport
- the ApplicationSessionStateSupport instance that is calling cleanSessionState.req
- The HttpServletRequestresp
- The HttpServletResponseCopyright 2019 Ping Identity Corp. All rights reserved.