[
https://issues.apache.org/jira/browse/HIVE-18447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vaibhav Gumashta updated HIVE-18447:
------------------------------------
Description:
Some authentication mechanisms like Single Sign On, need the ability to pass a
cookie to some intermediate authentication service like Knox via the JDBC
driver. We need to add the mechanism in Hive's JDBC driver (when used in HTTP
transport mode).
Cookies can now be passed like:
{code}
jdbc:hive2://<host>:<port>/<db>;transportMode=http;httpPath=<http_endpoint>;http.cookie.<name1>=<value1>;http.cookie.<name2>=<value2>
{code}
was:Some authentication mechanisms like Single Sign On, need the ability to
pass a cookie to some intermediate authentication service like Knox via the
JDBC driver. We need to add the mechanism in Hive's JDBC driver (when used in
HTTP transport mode).
> JDBC: Provide a way for JDBC users to pass cookie info via connection string
> ----------------------------------------------------------------------------
>
> Key: HIVE-18447
> URL: https://issues.apache.org/jira/browse/HIVE-18447
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Reporter: Vaibhav Gumashta
> Assignee: Vaibhav Gumashta
> Priority: Major
> Attachments: HIVE-18447.1.patch, HIVE-18447.2.patch
>
>
> Some authentication mechanisms like Single Sign On, need the ability to pass
> a cookie to some intermediate authentication service like Knox via the JDBC
> driver. We need to add the mechanism in Hive's JDBC driver (when used in HTTP
> transport mode).
> Cookies can now be passed like:
> {code}
> jdbc:hive2://<host>:<port>/<db>;transportMode=http;httpPath=<http_endpoint>;http.cookie.<name1>=<value1>;http.cookie.<name2>=<value2>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)