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

SPNEGO filter throws/logs exception when authentication fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 1.2.0, 2.0.0-alpha
    • security
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: