Kimahriman commented on a change in pull request #4059:
URL: https://github.com/apache/zeppelin/pull/4059#discussion_r579826676



##########
File path: 
zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxJwtRealm.java
##########
@@ -83,14 +78,6 @@
   @Override
   protected void onInit() {
     super.onInit();
-    if (principalMapping != null && !principalMapping.isEmpty()
-        || groupPrincipalMapping != null && !groupPrincipalMapping.isEmpty()) {
-      try {
-        mapper.loadMappingTable(principalMapping, groupPrincipalMapping);

Review comment:
       `mapper` is never used anywhere else, so I removed everything related to 
it. Seems like something left over from copying some code from Knox.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to