nodece commented on code in PR #19390:
URL: https://github.com/apache/pulsar/pull/19390#discussion_r1099643951
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java:
##########
@@ -971,6 +973,7 @@ protected void handleConnect(CommandConnect connect) {
authRole =
getBrokerService().getAuthenticationService().getAnonymousUserRole()
Review Comment:
Your idea is very true, we also recommend enabling authentication anywhere.
We have a case in which we don't want to check the proxy authentication in
the broker, only check the original authentication. Would you have any idea?
Right now, we set up `anonymousUserRole`, but we cannot get the original
authentication, because of the broker jumped to `completeConnect` method, there
is misses storing the original authentication.
--
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]