Hadoop Common
  1. Hadoop Common
  2. HADOOP-8314

HttpServer#hasAdminAccess should return false if authorization is enabled but user is not authenticated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 2.0.0-alpha, 3.0.0
    • Fix Version/s: 1.1.0, 2.0.0-alpha
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      If the user is not authenticated (request.getRemoteUser() returns NULL) or there is not authentication filter configured (thus returning also NULL), hasAdminAccess should return false. Note that a filter could allow anonymous access, thus the first case.

      1. HADOOP-8314_branch-1.patch
        5 kB
        Alejandro Abdelnur
      2. HADOOP-8314.patch
        5 kB
        Alejandro Abdelnur
      3. HADOOP-8314.patch
        5 kB
        Alejandro Abdelnur

        Activity

        Alejandro Abdelnur created issue -
        Alejandro Abdelnur made changes -
        Field Original Value New Value
        Attachment HADOOP-8314.patch [ 12524080 ]
        Alejandro Abdelnur made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Alejandro Abdelnur made changes -
        Attachment HADOOP-8314.patch [ 12524104 ]
        Alejandro Abdelnur made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Alejandro Abdelnur made changes -
        Affects Version/s 1.1.0 [ 12316501 ]
        Alejandro Abdelnur made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Alejandro Abdelnur made changes -
        Attachment HADOOP-8314_branch-1.patch [ 12524296 ]
        Alejandro Abdelnur made changes -
        Hadoop Flags Reviewed [ 10343 ] Incompatible change,Reviewed [ 10342,10343 ]
        Alejandro Abdelnur made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Matt Foley made changes -
        Fix Version/s 1.1.0 [ 12316501 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development