[Broker] Only store authentication data after authentication is complete
@@ -811,7 +811,6 @@ public class ServerCnx extends PulsarHandler implements TransportCnx {
}
authState = authenticationProvider.newAuthState(clientData, remoteAddress, sslSession);
- authenticationData = authState.getAuthDataSource();
if (log.isDebugEnabled()) {
log.debug("[{}] Authenticate role : {}", remoteAddress,
