Class HttpStatusInvalidSessionStrategy

  • All Implemented Interfaces:
    org.springframework.security.web.session.InvalidSessionStrategy

    public class HttpStatusInvalidSessionStrategy
    extends Object
    implements org.springframework.security.web.session.InvalidSessionStrategy
    • Constructor Detail

      • HttpStatusInvalidSessionStrategy

        public HttpStatusInvalidSessionStrategy​(org.springframework.http.HttpStatus httpStatus,
                                                Map<String,​String> headers,
                                                boolean sessionCookieHttpOnly,
                                                boolean sessionCookieSecure)
    • Method Detail

      • onInvalidSessionDetected

        public void onInvalidSessionDetected​(javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response)
                                      throws IOException
        Specified by:
        onInvalidSessionDetected in interface org.springframework.security.web.session.InvalidSessionStrategy
        Throws:
        IOException