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

ASF GitHub Bot commented on DRILL-5726:
---------------------------------------

Github user sohami commented on the issue:

    https://github.com/apache/drill/pull/910
  
    Had a chat with Arina on this and it is not the final PR, she will be 
updating the PR with new set of changes. @arina-ielchiieva - It would be great 
if you can put some context related to new set of changes in JIRA.


> Support Impersonation without authentication for REST API
> ---------------------------------------------------------
>
>                 Key: DRILL-5726
>                 URL: https://issues.apache.org/jira/browse/DRILL-5726
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>             Fix For: 1.12.0
>
>         Attachments: login_page.JPG
>
>
> Today if a user is not authenticated via REST API then there is no way to 
> provide a user name for executing queries. It will by default be executed as 
> "anonymous" user. This doesn't work when impersonation without authentication 
> is enabled on Drill server side, since anonymous user doesn't exist the query 
> will fail. We need a way to provide a user name when impersonation is enabled 
> on Drill side and query is executed from REST API.
> _Implementation details:_
> When only impersonation is enabled form-based authentication will be used.
> On Web UI user will be prompted to enter only login, then session for that 
> user will be created, user will be treated as admin. Form-based 
> authentication will cache user information, so user won't need to set 
> username each time he / she wants to execute the query. Log in / out options 
> will be also available. Screenshot of login page is attached.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to