mattisonchao commented on code in PR #20238:
URL: https://github.com/apache/pulsar/pull/20238#discussion_r1187513566


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationService.java:
##########
@@ -171,20 +172,26 @@ public String authenticateHttpRequest(HttpServletRequest 
request, Authentication
                     authData = authenticationState.getAuthDataSource();
                 }
                 // Backward compatible, the authData value was null in the 
previous implementation
-                return providerToUse.authenticate(authData);
+                return providerToUse.authenticateAsync(authData).get();

Review Comment:
   Can we give it a timeout by any chance?



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