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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/07/12 00:43:34 UTC

[jira] [Resolved] (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 ]

Alejandro Abdelnur resolved HADOOP-8565.
----------------------------------------

    Resolution: Duplicate

This is a dup of HADOOP-8355 (which I've missed to backport to branch-1, doing that now)
                
> 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
>            Assignee: Alejandro Abdelnur
>
> 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