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