drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5726) Support Impersonation without authentication for REST API
Date Thu, 17 Aug 2017 16:49:02 GMT

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

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

GitHub user arina-ielchiieva opened a pull request:

    https://github.com/apache/drill/pull/910

    DRILL-5726: Support Impersonation without authentication for REST API

    Details in [DRILL-5726](https://issues.apache.org/jira/browse/DRILL-5726).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arina-ielchiieva/drill DRILL-5726

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/910.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #910
    
----
commit f3986726f601ed31f93209b2daec497a7fbd2870
Author: Arina Ielchiieva <arina.yelchiyeva@gmail.com>
Date:   2017-08-17T12:08:12Z

    DRILL-5726: Support Impersonation without authentication for REST API

----


> 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)

Mime
View raw message