primerano 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_r332452885
########## File path: zeppelin-server/src/main/java/org/apache/zeppelin/utils/SecurityUtils.java ########## @@ -157,11 +157,15 @@ public static Collection getRealmsList() { ); if (auth != null) { roles = new HashSet<>(auth.getRoles()); + break; + } + } catch (Throwable t) { + if (log.isDebugEnabled()) { + String msg = "Realm [" + realm + + "] threw an exception during a multi-realm authorization attempt:"; + log.debug(msg, t); Review comment: Log.warn is fine I guess. I am hoping to make similar changes to the master branch this week. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services