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:47:34 UTC

[jira] [Updated] (HADOOP-8355) SPNEGO filter throws/logs exception when authentication fails

     [ https://issues.apache.org/jira/browse/HADOOP-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

    Attachment: HADOOP-8355-branch1.patch

patch for branch-1
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0-alpha
>
>         Attachments: HADOOP-8355-branch1.patch, HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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