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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: