[jira] [Updated] (HIVE-24053) Pluggable HttpRequestInterceptor for Hive JDBC

2020-08-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated HIVE-24053:
--
Labels: pull-request-available  (was: )

> 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
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)


[jira] [Updated] (HIVE-24053) Pluggable HttpRequestInterceptor for Hive JDBC

2020-08-20 Thread Ying Wang (Jira)


 [ 
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)