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

Thejas M Nair commented on HIVE-6334:
-------------------------------------

bq.  I don't see any one calling that constructor with non-null value. So, not 
sure when will ever be this user name set?
Followup jira will have changes to set user in SessionState using new 
constructor from HS2 HiveSessionImpl.


> sql std auth - pass username from sessionstate to v2 authorization interface
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-6334
>                 URL: https://issues.apache.org/jira/browse/HIVE-6334
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Authentication, Authorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-6334.1.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When sql standard authorization is used with hive server2 (HS2),  will be 
> configured to run as a particular user, but the authorization checks should 
> happen on behalf of the user who submits the query.
> It should be possible for HS2 to set the username for the session through 
> SessionState.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to