dimas-b commented on code in PR #2680:
URL: https://github.com/apache/polaris/pull/2680#discussion_r2455097739
##########
runtime/service/src/main/java/org/apache/polaris/service/config/ServiceProducers.java:
##########
@@ -139,10 +139,23 @@ public RealmConfig realmConfig(CallContext callContext) {
return callContext.getRealmConfig();
}
+ @Produces
+ @ApplicationScoped
+ public PolarisAuthorizerFactory polarisAuthorizerFactory(
+ AuthorizationConfiguration authorizationConfig,
+ @Any Instance<PolarisAuthorizerFactory> authorizerFactories) {
+ PolarisAuthorizerFactory factory =
+ authorizerFactories
+
.select(Identifier.Literal.of(authorizationConfig.type().getValue()))
Review Comment:
Please do.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]