GitHub user prabhjyotsingh opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/705
User in interpreter context
### What is this PR for?
The goal of the PR is to pass userName/userInfo from front-end to
interpreters.
The PR uses Shiro
authentication(https://github.com/apache/incubator-zeppelin/pull/586).
### What type of PR is it?
Improvement
### Todos
* [x] - Change RemoteInterpreterService.thrift signature
* [x] - Change InterpreterContext/RemoteInterpreterContext signature
* [x] - Modify all existing interpreters to above signature
### Is there a relevant Jira issue?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prabhjyotsingh/incubator-zeppelin
UserInInterpreterContext
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/705.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 #705
----
commit fadc6d92ffabc0dc4cb2079702ad292df3fd070a
Author: Prabhjyot Singh <[email protected]>
Date: 2016-02-08T16:29:13Z
userName to be present in InterpreterContext/RemoteInterpreterContext
commit d928203cf6d69b3c6427aa35f047b25a399b3198
Author: Prabhjyot Singh <[email protected]>
Date: 2016-02-08T16:48:37Z
revert shiri.ini
if fromMessage.principal.equals("anonymous") then set user as null
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---