dimas-b commented on code in PR #499:
URL: https://github.com/apache/polaris/pull/499#discussion_r1863662677
##########
polaris-service/src/main/java/org/apache/polaris/service/config/PolarisApplicationConfig.java:
##########
@@ -100,6 +103,22 @@ public void setPolarisAuthenticator(
return polarisAuthenticator;
}
+ @JsonProperty("authorizer")
+ public void setAuthorizer(Class<? extends PolarisAuthorizer> clazz) {
+ this.authorizerClass = clazz;
+ }
+
+ public PolarisAuthorizer createAuthorizer() {
+ PolarisConfigurationStore featureConfig = getConfigurationStore();
Review Comment:
I did not want to add an "empty" interface on top of a factory interface for
this... I'll wait for #470 and refactor.
--
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]