Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.2
-
None
Description
When using a realm that extends knoxJwtRealm, this does not function with Zeppelin's REST /api/login as the latter checks for the class name rather than using instanceof: https://github.com/apache/zeppelin/blob/0b8423c62ae52f3716d4bb63d60762fee6910788/zeppelin-server/src/main/java/org/apache/zeppelin/rest/LoginRestApi.java#L173
Instead, instanceof should be used.
A patch is attached that has been tested.