fuweng11 commented on code in PR #8390:
URL: https://github.com/apache/inlong/pull/8390#discussion_r1248993473


##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/auth/openapi/OpenAPIFilter.java:
##########
@@ -89,32 +89,32 @@ private SecretToken parseBasicAuth(HttpServletRequest 
servletRequest) {
         String basicAuth = 
servletRequest.getHeader(BasicAuth.BASIC_AUTH_HEADER);
         if (StringUtils.isBlank(basicAuth)) {
             log.error("basic auth header is empty");
-            return null;
+            return new SecretToken();

Review Comment:
   Add some comment to explain it.



-- 
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]

Reply via email to