[ 
https://issues.apache.org/jira/browse/HIVE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194399#comment-14194399
 ] 

Vaibhav Gumashta commented on HIVE-8705:
----------------------------------------

An example of usage of the attached test:
{code}
java -cp .:/usr/hive/lib/* TestPreAuthenticatedKerberosSubject -u 
"jdbc:hive2://my-hostname:10001/default;principal=hive/my-hostn...@example.com;transportMode=http;httpPath=cliservice;kerberosAuthType=fromSubject"
 -p "vaib...@example.com" -k "/root/vaibhav.headless.keytab"
{code}

> Support using pre-authenticated subject in kerberized HiveServer2 HTTP mode 
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-8705
>                 URL: https://issues.apache.org/jira/browse/HIVE-8705
>             Project: Hive
>          Issue Type: New Feature
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-8705.1.patch, 
> TestPreAuthenticatedKerberosSubject.java
>
>
> HIVE-6486 provided a patch to utilize pre-authenticated subject (someone who 
> has programmatically done a JAAS login and is not doing kinit before 
> connecting to HiveServer2 using the JDBC driver). However, that feature was 
> only for the binary mode code path. We need to have a similar feature when 
> the driver-server communicate using http transport. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to