bahlulh commented on a change in pull request #3903: NIFI-6904 Moving
ClassLoader creation before Authorizer instantiation
URL: https://github.com/apache/nifi/pull/3903#discussion_r350348353
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-authorizer/src/main/java/org/apache/nifi/authorization/AuthorizerFactoryBean.java
##########
@@ -315,8 +315,17 @@ private Authorizer createAuthorizer(final String
identifier, final String author
throw new Exception(String.format("Multiple bundles found for the
specified authorizer class '%s', only one is allowed.", authorizerClassName));
}
+ // start with ClassLoad from authorizer's bundle
final Bundle authorizerBundle = authorizerBundles.get(0);
ClassLoader authorizerClassLoader = authorizerBundle.getClassLoader();
+ logger.info("Got Authorizer ClassLoader from bundle");
Review comment:
Do we really need these logs?
----------------------------------------------------------------
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