GitHub user prasadwagle opened a pull request: https://github.com/apache/incubator-zeppelin/pull/860
[ZEPPELIN-828] Use individual user credentials for data source authentication ### What is this PR for? The purpose of this pull request is to allow users to use their own credentials to authenticate with data sources. It contains the following: - web UI and rest API to let users input their credentials - changes to AuthenticationInfo to add dataSourceUser and dataSourcePassword fields - changes to Paragraph to set data source credentials in AuthenticationInfo - changes to HiveInterpreter to use the user credentials and simplification to use a new connection for every query. Since we are using HiveInterpreter for analytics, the cost of creating a new connection is small compared to query execution. ### What type of PR is it? Feature ### Todos * [ ] - Do not persist AuthenticationInfo in paragraph since it contains sensitive information * [ ] - Add tests * [ ] - Add documentation ### What is the Jira issue? [ZEPPELIN-828] (https://issues.apache.org/jira/browse/ZEPPELIN-828) ### How should this be tested? 1. In conf/shiro.ini, use /** = authc 1. Login to Zeppelin 2. Enter credentials for a data source 3. Check if the interpreter is using the correct credentials ### Screenshots (if appropriate)  ### Questions: * Does this needs documentation? Yes. You can merge this pull request into a Git repository by running: $ git pull https://github.com/prasadwagle/incubator-zeppelin ZEPPELIN-828 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-zeppelin/pull/860.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 #860 ---- commit 50368e9223e4b5cb56adff259492ccf27ed8725c Author: Prasad Wagle <pwa...@twitter.com> Date: 2016-04-27T20:10:00Z Use individual user credentials for data source authentication ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---