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

2015-04-21 Thread Arun Suresh (JIRA)

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

Arun Suresh updated HADOOP-11704:
-
Fix Version/s: 2.8.0

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


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

2015-04-21 Thread Anubhav Dhoot (JIRA)

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


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

2015-03-12 Thread Anubhav Dhoot (JIRA)

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

Anubhav Dhoot updated HADOOP-11704:
---
Status: Patch Available  (was: Open)

 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)


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

2015-03-12 Thread Anubhav Dhoot (JIRA)

 [ 
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.001.patch

 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)