[ https://issues.apache.org/jira/browse/HIVE-25957?focusedWorklogId=727118&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-727118 ]
ASF GitHub Bot logged work on HIVE-25957: ----------------------------------------- Author: ASF GitHub Bot Created on: 15/Feb/22 16:05 Start Date: 15/Feb/22 16:05 Worklog Time Spent: 10m Work Description: nrg4878 commented on a change in pull request #3028: URL: https://github.com/apache/hive/pull/3028#discussion_r807000626 ########## File path: service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java ########## @@ -212,26 +213,26 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response) } else { clientUserName = doKerberosAuth(request); } - } else if (HiveSamlUtils.isSamlAuthMode(authType)) { Review comment: should we delete HiveSamlUtils.isSamlAuthMode or atleast change it to use authType.isEnabled()? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 727118) Time Spent: 20m (was: 10m) > 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: 20m > 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)