Interface NuxeoAuthenticationPlugin

    • Method Detail

      • handleLoginPrompt

        Boolean handleLoginPrompt​(javax.servlet.http.HttpServletRequest httpRequest,
                                  javax.servlet.http.HttpServletResponse httpResponse,
                                  String baseURL)
        Handles the Login Prompt.
        Parameters:
        httpRequest - the request
        httpResponse - the response
        Returns:
        true if AuthFilter must stop execution (ie: login prompt generated a redirect), false otherwise
      • handleRetrieveIdentity

        UserIdentificationInfo handleRetrieveIdentity​(javax.servlet.http.HttpServletRequest httpRequest,
                                                      javax.servlet.http.HttpServletResponse httpResponse)
        Retrieves user identification information from the request.
        Parameters:
        httpRequest - the request
        httpResponse - the response
      • needLoginPrompt

        Boolean needLoginPrompt​(javax.servlet.http.HttpServletRequest httpRequest)
        Defines if the authentication plugin needs to do a login prompt.
        Returns:
        true if LoginPrompt is used
      • initPlugin

        void initPlugin​(Map<String,​String> parameters)
        Initializes the Plugin from parameters set in the XML descriptor.