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

SPNEGO filter throws/logs exception when authentication fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 1.2.0, 2.0.0-alpha
    • Component/s: security
    • Labels:
      None

      Description

      if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

        Attachments

        1. HADOOP-8355.patch
          2 kB
          Alejandro Abdelnur
        2. HADOOP-8355-branch1.patch
          2 kB
          Alejandro Abdelnur

          Activity

            People

            • Assignee:
              tucu00 Alejandro Abdelnur
              Reporter:
              tucu00 Alejandro Abdelnur
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: