Authenticator authenticator = factory.authProvider.newAuthenticator(address);
byte[] initialResponse = authenticator.initialResponse();
if (null == initialResponse)
initialResponse = new byte[0];
com.datastax.cassandra.transport.Message.Response authResponse = write(new AuthResponse(initialResponse)).get();
waitForSaslCompletion(authResponse, authenticator);
break;
default:
throw defunct(new TransportException(address, String.format("Unexpected %s response message from server to a STARTUP message", response.type)));
}