You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/07/06 00:14:35 UTC
[jira] [Created] (HADOOP-8565) AuthenticationFilter#doFilter warns
unconditionally when using SPNEGO
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
[jira] [Resolved] (HADOOP-8565) AuthenticationFilter#doFilter warns
unconditionally when using SPNEGO
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ 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