zjffdu commented on a change in pull request #3466: [Zeppelin-4341] fix role
setting when using multiple realms
URL: https://github.com/apache/zeppelin/pull/3466#discussion_r332367295
##########
File path:
zeppelin-server/src/main/java/org/apache/zeppelin/realm/LdapRealm.java
##########
@@ -329,8 +329,8 @@ private boolean
hasAllowedAuthenticationRules(PrincipalCollection principals,
systemLdapCtx = ldapContextFactory.getSystemLdapContext();
return rolesFor(principals, username, systemLdapCtx,
ldapContextFactory, SecurityUtils.getSubject().getSession());
- } catch (AuthenticationException ae) {
- ae.printStackTrace();
+ } catch (Throwable t) {
+ t.printStackTrace();
Review comment:
Use `Logger.error` to logging error message
----------------------------------------------------------------
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]
With regards,
Apache Git Services