Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11704

DelegationTokenAuthenticationFilter must pass ipaddress instead of hostname to ProxyUsers#authorize()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      DelegationTokenAuthenticationHandler and DelegationTokenAuthenticationFilter are using ServletRequest#getRemoteHost which can send an address if possible. It should use getRemoteAddr instead

        Attachments

        1. HADOOP-11704.002.patch
          6 kB
          Anubhav Dhoot
        2. HADOOP-11704.001.patch
          2 kB
          Anubhav Dhoot

          Activity

            People

            • Assignee:
              adhoot Anubhav Dhoot
              Reporter:
              adhoot Anubhav Dhoot
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: