Class SilverpeasAuthenticatedHttpServlet

    • Constructor Detail

      • SilverpeasAuthenticatedHttpServlet

        public SilverpeasAuthenticatedHttpServlet()
    • Method Detail

      • service

        protected void service​(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
                        throws javax.servlet.ServletException,
                               IOException
        Overrides:
        service in class SilverpeasHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • renewSessionSecurityToken

        protected void renewSessionSecurityToken​(javax.servlet.http.HttpServletRequest request)
        Renews the session security token.
        Parameters:
        request - the incoming HTTP request
      • throwUserSessionExpiration

        protected void throwUserSessionExpiration()
        Expires the current user session (even if no user session exists) and stop all treatments. Sends an RuntimeException.
      • getMainSessionController

        protected MainSessionController getMainSessionController​(javax.servlet.http.HttpServletRequest request)
        Retrieves the Main session controller.
        Parameters:
        request - the incoming HTTP request
        Returns:
        the MainSessionController instance related by the request.
      • getSessionInfo

        protected SessionInfo getSessionInfo​(javax.servlet.http.HttpServletRequest request)
        Retrieves the SessionInfo linked to the current request.
        Parameters:
        request - the incoming HTTP request
        Returns:
        the SessionInfo instance related by the request