jerqi commented on code in PR #9618:
URL: https://github.com/apache/gravitino/pull/9618#discussion_r2671209384
##########
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:
`OAUTH` name is `oauth`. We need `OAUTH2` here.
Spark use the constants in the catalog-common.
So I defined a new constant here.
I will refactor related code in the future. I can create an issue for this.
--
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]