Class SessionRefreshServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@Component public class SessionRefreshServlet extends AbstractJsonServlet
Returns a JSON object containing the following information: - success (true, if a known principal currently is logged in (not anonymous)) - timeout (how long the session is valid (in minutes)) This servlet actually doesn't refresh the session. This is done in the AuthenticationFilter. This servlet only returns the information.
See Also:
  • Constructor Details

  • Method Details

    • processRequest

      protected void processRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Specified by:
      processRequest in class AbstractJsonServlet
      Throws:
      javax.servlet.ServletException
      IOException