public final class SimpleRedirectInvalidSessionStrategy extends java.lang.Object implements InvalidSessionStrategy
SessionManagementFilter.| Constructor and Description |
|---|
SimpleRedirectInvalidSessionStrategy(java.lang.String invalidSessionUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInvalidSessionDetected(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setCreateNewSession(boolean createNewSession)
Determines whether a new session should be created before redirecting (to avoid
possible looping issues where the same session ID is sent with the redirected
request).
|
public SimpleRedirectInvalidSessionStrategy(java.lang.String invalidSessionUrl)
public void onInvalidSessionDetected(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
onInvalidSessionDetected in interface InvalidSessionStrategyjava.io.IOExceptionpublic void setCreateNewSession(boolean createNewSession)
SessionManagementFilter.createNewSession - defaults to true.