Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22539

HiveServer2 SPNEGO authentication should skip if authorization header is empty

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • HiveServer2
    • None
    • HiveServer2 will check if the Authorization header is present and not empty before checking SPNEGO authentication.

    Description

      Currently HiveServer2 SPNEGO authentication waits until setting up Kerberos before checking header. This can be checked up front to avoid doing any Kerberos related work if the header is empty. This is helpful in a lot of cases since typically the first request is empty with the client waiting for a 401 before returning the Authorization header.

      Attachments

        1. HIVE-22539.1.patch
          10 kB
          Kevin Risden
        2. HIVE-22539.2.patch
          10 kB
          Kevin Risden
        3. HIVE-22539.3.patch
          10 kB
          Kevin Risden
        4. HIVE-22539.4.patch
          10 kB
          Kevin Risden
        5. HIVE-22539.5.patch
          10 kB
          Kevin Risden
        6. HIVE-22539.6.patch
          10 kB
          Kevin Risden
        7. HIVE-22539.7.patch
          10 kB
          Kevin Risden

        Activity

          People

            krisden Kevin Risden
            krisden Kevin Risden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: