You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/12/12 23:48:00 UTC
[jira] [Commented] (CALCITE-4152) Avoid SPNEGO re-negotiation for each request
[ https://issues.apache.org/jira/browse/CALCITE-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458093#comment-17458093 ]
Julian Hyde commented on CALCITE-4152:
--------------------------------------
Fixed in [c3a91923|https://github.com/apache/calcite-avatica/commit/c3a9192347b4354337a906838499ff25236d63bc].
> 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
> Assignee: Josh Elser
> Priority: Major
> Fix For: avatica-1.20.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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.20.1#820001)