hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8565) AuthenticationFilter#doFilter warns unconditionally when using SPNEGO
Date Thu, 05 Jul 2012 22:14:34 GMT
Eli Collins created HADOOP-8565:
-----------------------------------

             Summary: AuthenticationFilter#doFilter warns unconditionally when using SPNEGO

                 Key: HADOOP-8565
                 URL: https://issues.apache.org/jira/browse/HADOOP-8565
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 2.0.0-alpha, 1.0.3
            Reporter: Eli Collins


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

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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message