sijie commented on a change in pull request #6661: [Issue 6658] support
multiple authz providers
URL: https://github.com/apache/pulsar/pull/6661#discussion_r403747087
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authorization/AuthorizationService.java
##########
@@ -70,17 +90,38 @@ public AuthorizationService(ServiceConfiguration conf,
ConfigurationCacheService
}
}
+ private static <T> CompletableFuture<T> anyMatch(List<? extends
CompletionStage<? extends T>> l,
Review comment:
`anyMatch` doesn't seem to be right to me when multiple authentication
providers are applied to. Is it better to check them in sequence?
----------------------------------------------------------------
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