commit | 7e4efb7652c56c0efc1eb6fc3738cd86ab7e6f12 | [log] [tgz] |
---|---|---|
author | Jeff Hammel <jeff@leapyear.io> | Tue Feb 11 09:36:33 2020 -0800 |
committer | Jeff Zhang <zjffdu@apache.org> | Tue Feb 18 09:28:16 2020 +0800 |
tree | f6e82309e5e25c40334e7f1dfb805ba871948f3e | |
parent | 151118d18a0bd9570eeb889400295e2277285076 [diff] |
[ZEPPELIN-4580] check the instance type rather than the class name ### What is this PR for? A few sentences describing the overall goals of the pull request's commits. First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html This checks if the realm is an instance of KnoxJwtRealm instead of checking for it by name to enable subclassing of KnoxJwtRealm. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/ * Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533] https://issues.apache.org/jira/browse/ZEPPELIN-4580 ### How should this be tested? * First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. I have tested this change manually with a custom authenticator in an integrated environment. JWT authentication works. I have also set up Travis. A run is at https://travis-ci.org/LeapYear/zeppelin-source/builds/649031975 but there seem to be several errors unrelated to this change. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Hammel <jeff@leapyear.io> Closes #3618 from jeff-hammel-leapyear/jeff/knox_instanceof and squashes the following commits: 3909846f8 [Jeff Hammel] remove now unused references to name 00c3d7dae [Jeff Hammel] check the instance type rather than the class name
Documentation: User Guide
Mailing Lists: User and Dev mailing list
Continuous Integration:
Contributing: Contribution Guide
Issue Tracker: Jira
License: Apache 2.0
Zeppelin, a web-based notebook that enables interactive data analytics. You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.
Core feature:
To know more about Zeppelin, visit our web site http://zeppelin.apache.org
Please go to install to install Apache Zeppelin from binary package.
Please check Build from source to build Zeppelin from source.