[
https://issues.apache.org/jira/browse/HIVE-25957?focusedWorklogId=728028&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-728028
]
ASF GitHub Bot logged work on HIVE-25957:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Feb/22 04:10
Start Date: 16/Feb/22 04:10
Worklog Time Spent: 10m
Work Description: nrg4878 commented on a change in pull request #3028:
URL: https://github.com/apache/hive/pull/3028#discussion_r807519814
##########
File path:
service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java
##########
@@ -551,7 +551,7 @@ String doKerberosAuth(HttpServletRequest request)
throws HttpAuthenticationException {
// Each http request must have an Authorization header
// Check before trying to do kerberos authentication twice
- getAuthHeader(request, authType);
+ getAuthHeader(request, "NEGOTIATE");
Review comment:
I meant to ask about this earlier. For kerberos auth, if the header
contained "NEGOTIATE", how did this work earlier when we were looking for
header named "KERBEROS" ?
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 728028)
Time Spent: 1h (was: 50m)
> Fix password based authentication with SAML enabled
> ---------------------------------------------------
>
> Key: HIVE-25957
> URL: https://issues.apache.org/jira/browse/HIVE-25957
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 4.0.0
> Reporter: Yu-Wen Lai
> Assignee: Yu-Wen Lai
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> In HIVE-25875, we allowed SAML to be set with other password based
> authentication, but we pass NONE to the function doPasswordAuth. That is, any
> requests use basic authentication header can bypass the password verification
> because NONE means a no-op authentication.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)