KannarFr commented on a change in pull request #6661: [Issue 6658] support
multiple authz providers
URL: https://github.com/apache/pulsar/pull/6661#discussion_r403856174
##########
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:
```
/**
* @return the authorization methods names supported by this provider
*/
default Set<String> getAuthZMethodsNames() {
return
Sets.newHashSet("org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider");
}
```
----------------------------------------------------------------
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