Arina Ielchiieva created DRILL-5726: ---------------------------------------
Summary: 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 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)