[
https://issues.apache.org/jira/browse/HADOOP-11704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507086#comment-14507086
]
Hudson commented on HADOOP-11704:
---------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #2121 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2121/])
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/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
*
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/web/TestWebDelegationToken.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)