Interface Authenticator

    • Method Detail

      • authenticate

        boolean authenticate​(Request request,
                             HttpServletResponse response)
                      throws IOException
        Authenticate the user making this request, based on the login configuration of the Context with which this Authenticator is associated.
        Parameters:
        request - Request we are processing
        response - Response we are populating
        Returns:
        true if any specified constraints have been satisfied, or false if one more constraints were not satisfied (in which case an authentication challenge will have been written to the response).
        Throws:
        IOException - if an input/output error occurs
      • logout

        void logout​(Request request)