Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8565

AuthenticationFilter#doFilter warns unconditionally when using SPNEGO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.0.3
    • None
    • None
    • None

    Description

      The following code in AuthenticationFilter#doFilter throws AuthenticationException (and warns) unconditionally because KerberosAuthenticator#authenticate returns null if SPNEGO is used.

        token = authHandler.authenticate(httpRequest, httpResponse);
        ...
        if (token != null) { ... } else {
          throw new AuthenticationException
        }
      

      Attachments

        Activity

          People

            tucu00 Alejandro Abdelnur
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: