Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4152

Avoid SPNEGO re-negotiation for each request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • avatica-1.20.0
    • avatica
    • None

    Description

      When using SPNEGO authentication with Avatica, every HTTP request re-initiates the negotiation, doubling the number HTTP requests.

      Consider switching to cookies after the initial SPNEGO authentication succeeds.

      Jetty ticket that discusses the issue: https://github.com/eclipse/jetty.project/issues/2868

      Description of the Knox implementation

      https://cwiki.apache.org/confluence/display/KNOX/2017/02/24/Hadoop+Auth+%28SPNEGO+and+delegation+token+based+authentication%29+with+Apache+Knox

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m