hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3639) JspHelper#getUGI should always verify the token if security is enabled
Date Thu, 12 Jul 2012 01:25:35 GMT

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

Hudson commented on HDFS-3639:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #2454 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2454/])
    HDFS-3639. JspHelper#getUGI should always verify the token if security is enabled. Contributed
by Eli Collins (Revision 1360485)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1360485
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java

                
> JspHelper#getUGI should always verify the token if security is enabled
> ----------------------------------------------------------------------
>
>                 Key: HDFS-3639
>                 URL: https://issues.apache.org/jira/browse/HDFS-3639
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 1.0.0, 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Minor
>             Fix For: 1.2.0, 2.0.1-alpha
>
>         Attachments: hdfs-3639-b1.txt, hdfs-3639.txt
>
>
> JspHelper#getUGI on verifies the given token if the context and nn are set (added in
HDFS-2416). We should unconditionally verifyToken the token, ie a bug where "name.node" is
not set in the context object should not result in not verifying the token. In practice this
shouldn't be an issue as per HDFS-3434 the context and NN should never be null.

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