Uh oh!
There was an error while loading. Please reload this page.
User in interpreter context - #705
Conversation
if fromMessage.principal.equals("anonymous") then set user as nullf228b6d to
60e0a6eCompare60e0a6e to
320790cComparerconline
commented
Feb 9, 2016
This is a requisite first step for getting to multi-user scenarios. I believe this should get discussed a little bit in terms of approach. |
prabhjyotsingh
commented
Feb 12, 2016
This is ready for review. |
felixcheung
commented
Feb 12, 2016
@rconline how would you want to discuss? Should we open a JIRA - or a JIRA parent with subtests for this multi-user auth use cases? |
felixcheung
commented
Feb 14, 2016
@prabhjyotsingh could you explain more on the reason for this change? |
rconline
commented
Feb 14, 2016
@felixcheung@prabhjyotsingh The purpose of this discussion should be to get to an approach that allows us zeppelin to do a couple of things - pass user identity to the underlying spark cluster, and thereby support multi-tenancy. There is JIRA open - https://issues.apache.org/jira/browse/ZEPPELIN-645 which we could use to discuss this further. Does that make sense? |
Leemoonsoo
commented
Feb 14, 2016
I think it make sense to let access authentication info through InterpreterContext. So my suggestion is, create such class |
prabhjyotsingh
commented
Feb 16, 2016
Thank you for the suggestion @Leemoonsoo. Have added AuthenticationInfo class, and made relevant changes. |
Leemoonsoo
commented
Feb 18, 2016
I have tried and it works well. |
prabhjyotsingh
commented
Feb 19, 2016
Thanks you @Leemoonsoo, that does make a lot of sense. |
d955d62 to
033a354CompareLeemoonsoo
commented
Feb 19, 2016
Thanks @prabhjyotsingh. |
jongyoul
commented
Feb 20, 2016
LGTM |
felixcheung
commented
Feb 21, 2016
Let's rebase and merge this? |
…ntext # Conflicts: # zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java
prabhjyotsingh
commented
Feb 22, 2016
Thank you for reviewing this. Have merged this with master. |
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(#586).
What type of PR is it?
Improvement
Todos
Is there a relevant Jira issue?
N/A