FANNG1 commented on code in PR #9618:
URL: https://github.com/apache/gravitino/pull/9618#discussion_r2671175742
##########
flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/catalog/GravitinoCatalogManager.java:
##########
@@ -66,7 +64,7 @@ private GravitinoCatalogManager(
// Only OAuth is explicitly configured; otherwise follow Flink security
(Kerberos if enabled,
// simple auth otherwise).
- if (AuthenticatorType.OAUTH.name().equalsIgnoreCase(authType)) {
+ if (GravitinoCatalogStoreFactoryOptions.OAUTH2.equalsIgnoreCase(authType))
{
Review Comment:
Any reason for using a new constant?
--
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]