hf200012 commented on code in PR #9363: URL: https://github.com/apache/incubator-doris/pull/9363#discussion_r867297478
########## fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/RestBaseController.java: ########## @@ -77,9 +77,10 @@ public RedirectView redirectTo(HttpServletRequest request, TNetworkAddress addr) ActionAuthorizationInfo authInfo = getAuthorizationInfo(request); // Fix username@cluster:passwod is modified to cluster: username:passwod causes authentication failure // @see https://github.com/apache/incubator-doris/issues/8100 - userInfo = ClusterNamespace.getNameFromFullName(authInfo.fullUserName) + - "@" + ClusterNamespace.getClusterNameFromFullName(authInfo.fullUserName) + - ":" + authInfo.password; + String clusterName = ConnectContext.get().getClusterName(); Review Comment: OK -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org