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 "Anubhav Dhoot (JIRA)" <ji...@apache.org> on 2015/04/21 10:34:59 UTC

[jira] [Updated] (HADOOP-11704) ProxyUsers expects ipaddress due to MachineList but callers send in remote host

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

Anubhav Dhoot updated HADOOP-11704:
-----------------------------------
    Attachment: HADOOP-11704.002.patch

Attaching unit tests to validate fix

> ProxyUsers expects ipaddress due to MachineList but callers send in remote host 
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-11704
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11704
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>         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)