snazy commented on code in PR #493:
URL: https://github.com/apache/polaris/pull/493#discussion_r1867275986
##########
polaris-service/src/main/java/org/apache/polaris/service/auth/DefaultOAuth2ApiService.java:
##########
@@ -39,8 +40,8 @@
* Default implementation of the {@link OAuth2ApiService} that generates a JWT
token for the client
* if the client secret matches.
*/
-@JsonTypeName("default")
-public class DefaultOAuth2ApiService implements OAuth2ApiService,
HasMetaStoreManagerFactory {
+@Named("default")
Review Comment:
There's `Instance.select()` in CDI for such cases - in combination with
`@Qualifier` and `AnnotationLiteral` (mentioned elsewehere IIRC).
--
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]