GitHub user bzz opened a pull request:
https://github.com/apache/zeppelin/pull/1344
ZEPPELIN-1164: backport new Shiro realm to 0.6 branch
Just a backport of #1173
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bzz/incubator-zeppelin branch-0.6-add-realm
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1344.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 #1344
----
commit fbf8615663bd24dc246dd40dbd2395b338384f82
Author: Anthony Corbacho <[email protected]>
Date: 2016-07-22T06:55:50Z
[ZEPPELIN-1164] ZeppelinHub Realm
Add a new Shiro Realm that lets users authenticate in Apache Zeppelin using
their ZeppelinHub credentials.
`Feature`
* [x] - Create ZeppelinHub Realm that extends `AuthorizingRealm`.
* [x] - Update `shiro.ini` file and add ZeppelinHub configuration template.
* [x] - Add documentation
[Issue 1164](https://issues.apache.org/jira/browse/ZEPPELIN-1164)
- Assuming that you already have an account
[Zeppelinhub](https://www.zeppelinhub.com/register), edit `conf/shiro.ini` file
and uncomment ZeppelinHub related configuration.
- Start your Zeppelin
- Login with your ZeppelinHub credentials.
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? YES
Author: Anthony Corbacho <[email protected]>
Closes #1173 from anthonycorbacho/feat/ZeppelinHubAuthentication and
squashes the following commits:
63b06c6 [Anthony Corbacho] Fix rebase mistake in documentation
0f16344 [Anthony Corbacho] Fix typo in documentation
5a27871 [Anthony Corbacho] Add Documentation about ZeppelinHub Realm
configuration
8347fa9 [Anthony Corbacho] Handle long line > 100 char
9bf96ba [Anthony Corbacho] Remove author tag...
64154d4 [Anthony Corbacho] Add more method comments.
c207b5e [Anthony Corbacho] Change check of token.getUsername() in
doGetAuthenticationInfo by using StringUtils::isBlank instead of checking only
null.
38683e1 [Anthony Corbacho] Add new setting in Shiri.ini to handle
ZeppelinHub realm.
34a8e5e [Anthony Corbacho] Create new Apache Shiro Realm for ZeppelinHub
----
---
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.
---