You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/08/03 07:35:00 UTC

[jira] [Created] (CALCITE-4152) Avoid SPNEGO re-negotiation for each request

Istvan Toth created CALCITE-4152:
------------------------------------

             Summary: Avoid SPNEGO re-negotiation for each request
                 Key: CALCITE-4152
                 URL: https://issues.apache.org/jira/browse/CALCITE-4152
             Project: Calcite
          Issue Type: Improvement
          Components: avatica
            Reporter: Istvan Toth


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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)