Hadoop Common
  1. Hadoop Common
  2. HADOOP-8355

SPNEGO filter throws/logs exception when authentication fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development