[ 
https://issues.apache.org/jira/browse/HIVE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ying Wang updated HIVE-24053:
-----------------------------
    Release Note: 
The HiveServer2 JDBC Connection URL will accept an additional session variable 
"http.interceptor" that allows client to pass in the class name.
Example: http.interceptor=com.example.UserInterceptor

> Pluggable HttpRequestInterceptor for Hive JDBC
> ----------------------------------------------
>
>                 Key: HIVE-24053
>                 URL: https://issues.apache.org/jira/browse/HIVE-24053
>             Project: Hive
>          Issue Type: New Feature
>          Components: JDBC
>    Affects Versions: 3.1.2
>            Reporter: Ying Wang
>            Assignee: Ying Wang
>            Priority: Minor
>
> Allows client to pass in the name of a customize HttpRequestInterceptor, 
> instantiate the class and adds it to HttpClient.
> Example usage: We would like to pass in a HttpRequestInterceptor for OAuth2.0 
> Authentication purpose. The HttpRequestInterceptor will acquire and/or 
> refresh the access token and add it as authentication header each time 
> HiveConnection sends the HttpRequest.



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

Reply via email to