Ying Wang created HIVE-24053: -------------------------------- Summary: 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
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)