[ https://issues.apache.org/jira/browse/HIVE-18447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375988#comment-16375988 ]
Lefty Leverenz commented on HIVE-18447: --------------------------------------- Thanks for documenting this, [~vgumashta]. Here's a link to the doc: * [HiveServer2 Clients -- Passing Custom HTTP Cookie Key/Value Pairs via JDBC Driver | https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-PassingCustomHTTPCookieKey/ValuePairsviaJDBCDriver] (By the way, this needs a fix version.) > 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)