You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/07/12 00:37:34 UTC
[jira] [Updated] (HADOOP-8565) AuthenticationFilter#doFilter warns
unconditionally when using SPNEGO
[ https://issues.apache.org/jira/browse/HADOOP-8565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-8565:
--------------------------------
Target Version/s: 1.2.0 (was: 1.2.0, 2.0.1-alpha)
Affects Version/s: (was: 2.0.0-alpha)
Only affects branch-1.
> 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: 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