Abyss-lord commented on code in PR #6451: URL: https://github.com/apache/gravitino/pull/6451#discussion_r1955490736
########## clients/cli/src/main/java/org/apache/gravitino/cli/CatalogCommandHandler.java: ########## @@ -64,7 +64,7 @@ public CatalogCommandHandler( @Override protected void handle() { String userName = line.getOptionValue(GravitinoOptions.LOGIN); - Command.setAuthenticationMode(getAuth(line), userName); + Command.setAuthenticationMode(context.auth(), userName); Review Comment: But auth should be determined in the Context initialization? and `getAuth` is a private method. -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org