[
https://issues.apache.org/jira/browse/HADOOP-11704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359234#comment-14359234
]
Anubhav Dhoot commented on HADOOP-11704:
----------------------------------------
Hi [~asuresh] the way MachineList support hostnames is try to convert the
passed in ip Address into a hostname and check if its a configured host, and if
that fails convert all the configured hostnames into an ip address and check if
it matches the passed in ip address. That means you can configure hostnames in
the config but the caller still has to pass in an ip address.
> 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
>
>
> 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)