Interface LoginResponseHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean onError​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handles the login error response.
      boolean onSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handles login success response.
    • Method Detail

      • onError

        boolean onError​(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
        Handles the login error response.
        Parameters:
        request - the HTTP request
        response - the HTTP response
        Returns:
        true if error was handled, false otherwise
      • onSuccess

        boolean onSuccess​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
        Handles login success response.
        Parameters:
        request - the HTTP request
        response - the HTTP response
        Returns:
        true if response was handled, false otherwise