[pulsar-broker] fix broken custom auth-provider that uses authenticationData
Fix broken custom auth-provider that uses authenticationData
@@ -555,6 +555,7 @@ public class ServerCnx extends PulsarHandler {
sslSession);
authState = authenticationProvider.newAuthState(clientData, remoteAddress, sslSession);
+ authenticationData = authState.getAuthDataSource();
doAuthentication(clientData, clientProtocolVersion, clientVersion);
} catch (Exception e) {
String msg = "Unable to authenticate";
