merlimat commented on a change in pull request #6074: PIP-55: Refresh
Authentication Credentials
URL: https://github.com/apache/pulsar/pull/6074#discussion_r368105348
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
##########
@@ -127,6 +127,10 @@
AuthenticationDataSource authenticationData;
AuthenticationProvider authenticationProvider;
AuthenticationState authState;
+ // In case of proxy, if the authentication credentials are forwardable,
+ // it will hold the credentials of the original client
+ AuthenticationState originalAuthState;
+ private boolean pendingAuthChallengeResponse = false;
Review comment:
This variable will be always accessed only the connection IO thread so there
won't be any race condition.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services