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

        Alejandro Abdelnur created issue -
        Aaron T. Myers made changes -
        Field Original Value New Value
        Fix Version/s 2.0.0 [ 12320352 ]
        Target Version/s 2.0.0 [ 12320352 ]
        Alejandro Abdelnur made changes -
        Attachment HADOOP-8355.patch [ 12525542 ]
        Alejandro Abdelnur made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Alejandro Abdelnur made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 2.0.0 [ 12320352 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alejandro Abdelnur made changes -
        Attachment HADOOP-8355-branch1.patch [ 12536135 ]
        Alejandro Abdelnur made changes -
        Fix Version/s 1.2.0 [ 12321659 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development