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

Hudson commented on HADOOP-11704:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #905 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/905/])
HADOOP-11704. DelegationTokenAuthenticationFilter must pass ipaddress instead 
of hostname to ProxyUsers#authorize (Anubhav Dhoot via asuresh) (Arun Suresh: 
rev 424a00daa069bf2049014fd46ad152ec5fc77ac8)
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/web/TestWebDelegationToken.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticationHandler.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticationFilter.java


> DelegationTokenAuthenticationFilter must pass ipaddress instead of hostname 
> to ProxyUsers#authorize()
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11704
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11704
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-11704.001.patch, HADOOP-11704.002.patch
>
>
> DelegationTokenAuthenticationHandler and DelegationTokenAuthenticationFilter 
> are using ServletRequest#getRemoteHost which can send an address if possible. 
> It should use getRemoteAddr instead



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to