Class LoginControllerHtml


  • public class LoginControllerHtml
    extends ControllerHtml
    Controller responsible to handle login and logout operations.
    Since:
    4.0.0
    Version:
    $Revision$ $Date$
    • Field Detail

      • LUM_REQUESTED_PAGE_COOKIE

        public static final java.lang.String LUM_REQUESTED_PAGE_COOKIE
        Requested page cookie name.
        Since:
        10.0.0
        See Also:
        Constant Field Values
    • Method Detail

      • getRequestedPage

        public static java.lang.String getRequestedPage​(javax.servlet.http.HttpServletRequest request)
        Returns the requested page URI stored for the session, used for redirecting after login.
        Parameters:
        request - the http servlet request.
        Returns:
        the stored value, or null if none is stored.
        Since:
        12.4.0
      • setRequestedPage

        public static void setRequestedPage​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            java.lang.String uri)
        Stores a requested page URI in the session, for later retrieval by getRequestedPage(HttpServletRequest). Any value stored is replaced by the given one.
        Parameters:
        request - the http servlet request.
        response - the http servlet response.
        uri - the requested page URI, or null to remove any value stored.
        Since:
        12.4.0
      • handleRequest

        public void handleRequest()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception