turboFei commented on code in PR #6624:
URL: https://github.com/apache/kyuubi/pull/6624#discussion_r1720801480
##########
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala:
##########
@@ -871,6 +871,14 @@ object KyuubiConf {
.stringConf
.createOptional
+ val AUTHENTICATION_CUSTOM_HTTP_BEARER_HEADER: ConfigEntry[String] =
+ buildConf("kyuubi.authentication.custom.http.bearer.header")
+ .doc("Http header for http bearer authentication in ThriftHttp
protocol.")
+ .version("1.10.0")
+ .serverOnly
+ .stringConf
+ .createWithDefault("BearerAuthentication")
Review Comment:
I got you, currently the http.header.Authorization can not be transferred to
server end.
because
https://github.com/apache/kyuubi/blob/0165d5e3a26cc8353a9f7135e8fa4a9c4ae99e78/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java#L446-L480
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]