if (ss == null)
{
throw new AMQException("No SASL context set up in session");
}
AuthenticationResult authResult = authMgr.authenticate(ss, body.response);
switch (authResult.status)
{
case ERROR:
// Can't do this as we violate protocol. Need to send Close
// throw new AMQException(AMQConstant.NOT_ALLOWED.getCode(), AMQConstant.NOT_ALLOWED.getName());