hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8355) SPNEGO filter throws/logs exception when authentication fails
Date Fri, 04 May 2012 03:34:54 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268089#comment-13268089
] 

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2185 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2185/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision
1333746)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> 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
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: 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

        

Mime
View raw message