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

AuthenticationFilter#doFilter warns unconditionally when using SPNEGO

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              tucu00 Alejandro Abdelnur
              Reporter:
              eli Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: