Class ProxyAuthenticator

    • Field Detail

      • userIdHeaderName

        protected String userIdHeaderName
      • regexp

        protected String regexp
      • noRedirect

        protected boolean noRedirect
      • HTTP_CREDENTIAL_DIRECTORY_FIELD_PROPERTY_NAME

        public static final String HTTP_CREDENTIAL_DIRECTORY_FIELD_PROPERTY_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProxyAuthenticator

        public ProxyAuthenticator()
    • Method Detail

      • handleLoginPrompt

        public Boolean handleLoginPrompt​(javax.servlet.http.HttpServletRequest httpRequest,
                                         javax.servlet.http.HttpServletResponse httpResponse,
                                         String baseURL)
        Description copied from interface: NuxeoAuthenticationPlugin
        Handles the Login Prompt.
        Specified by:
        handleLoginPrompt in interface NuxeoAuthenticationPlugin
        Parameters:
        httpRequest - the request
        httpResponse - the response
        Returns:
        true if AuthFilter must stop execution (ie: login prompt generated a redirect), false otherwise
      • handleRedirectToValidStartPage

        protected void handleRedirectToValidStartPage​(javax.servlet.http.HttpServletRequest httpRequest,
                                                      javax.servlet.http.HttpServletResponse httpResponse)
        Handle redirection so that context is rebuilt correctly see NXP-2060 + NXP-2064