hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-25349) Skip password authentication when a trusted header is present in the Http request
Date Tue, 27 Jul 2021 22:12:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-25349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388323#comment-17388323
] 

Naveen Gangam commented on HIVE-25349:
--------------------------------------

[~gopalv] what if we added a new hive config parameter whose value is a header name that HS2
should trust. When set to "" (the default), it would be behave as today but when this config
is set to a header value, it trusts this header is set by a frontend that has done the authentication.
Would this address your concern? Thanks

> Skip password authentication when a trusted header is present in the Http request
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-25349
>                 URL: https://issues.apache.org/jira/browse/HIVE-25349
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive, HiveServer2
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: pull-request-available, security-review-needed
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Whenever a trusted header is present in the HTTP servlet request, skip the password based
authentication, since the user is pre-authorized and extract the user name from Authorization
header.



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

Mime
View raw message