GitHub user anthonycorbacho reopened a pull request: https://github.com/apache/zeppelin/pull/1173
[ZEPPELIN-1164] ZeppelinHub Realm ### What is this PR for? Add a new Shiro Realm that lets users authenticate in Apache Zeppelin using their ZeppelinHub credentials. ### What type of PR is it? `Feature` ### Todos * [x] - Create ZeppelinHub Realm that extends `AuthorizingRealm`. * [x] - Update `shiro.ini` file and add ZeppelinHub configuration template. ### What is the Jira issue? [Issue 1164](https://issues.apache.org/jira/browse/ZEPPELIN-1164) ### How should this be tested? - 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. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Maybe [HERE](http://zeppelin.apache.org/docs/0.6.0/security/shiroauthentication.html) You can merge this pull request into a Git repository by running: $ git pull https://github.com/anthonycorbacho/incubator-zeppelin feat/ZeppelinHubAuthentication Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1173.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 #1173 ---- commit 7975467c54d09b5f17e51aa08fc66d5600a2318e Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T03:23:15Z Create new Apache Shiro Realm for ZeppelinHub This Realm will let users login with they ZeppelinHub credentials. commit 24d4ea0ab898b1dfa533a90eff863c5c2b58cbcc Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T03:24:29Z Add new setting in Shiri.ini to handle ZeppelinHub realm. commit 60b836091b8eb1d6cbed64e530bb3bbffdf96df6 Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T03:39:33Z Change check of token.getUsername() in doGetAuthenticationInfo by using StringUtils::isBlank instead of checking only null. commit 8da302fe40517cc5c3ac4c7c074ea15bc1c06ade Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T03:52:43Z Add more method comments. commit bbd074a9c050f44c913dcca012663b928f864bfd Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T03:55:22Z Remove author tag... commit eb5c3d3ea917f962b0cce9ac22c4c29d73946abb Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-07-13T05:31:31Z Handle long line > 100 char ---- --- 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. ---