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

AuthenticationFilter should return Forbidden for failed authentication

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.4.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The hadoop-auth AuthenticationFilter returns a 401 Unauthorized without a WWW-Authenticate headers. The is illegal per the HTTP RPC and causes a NPE in the HttpUrlConnection.

      This is half of a fix that affects webhdfs. See HDFS-4564.

        Attachments

        1. HADOOP-10301.branch-23.patch
          12 kB
          Daryn Sharp
        2. HADOOP-10301.branch-23.patch
          7 kB
          Daryn Sharp
        3. HADOOP-10301.patch
          13 kB
          Daryn Sharp
        4. HADOOP-10301.patch
          10 kB
          Daryn Sharp
        5. HADOOP-10301.patch
          8 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: