Package org.molgenis.security
Class AjaxAwareInvalidSessionStrategy
- java.lang.Object
-
- org.molgenis.security.AjaxAwareInvalidSessionStrategy
-
- All Implemented Interfaces:
org.springframework.security.web.session.InvalidSessionStrategy
public class AjaxAwareInvalidSessionStrategy extends Object implements org.springframework.security.web.session.InvalidSessionStrategy
Same asSimpleRedirectInvalidSessionStrategyexcept for XMLHttpRequests in which case a status code is returned instead of redirection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonInvalidSessionDetected(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Method Detail
-
onInvalidSessionDetected
public void onInvalidSessionDetected(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException- Specified by:
onInvalidSessionDetectedin interfaceorg.springframework.security.web.session.InvalidSessionStrategy- Throws:
IOExceptionjavax.servlet.ServletException
-
-