SaslClient sc = Sasl.createSaslClient
(new String[] {"PLAIN"}, null, "AMQP", "localhost", null, handler);
conn.setSaslClient(sc);
byte[] response = sc.hasInitialResponse() ?
sc.evaluateChallenge(new byte[0]) : null;
conn.connectionStartOk
(Collections.EMPTY_MAP, sc.getMechanismName(), response,
conn.getLocale());
}
catch (SaslException e)