136137138139140141142143144145
{ return new PlainSaslServer(callbackHandler); } else if(AmqPlainSaslServer.MECHANISM.equals(mechanism)) { return new AmqPlainSaslServer(callbackHandler); } throw new SaslException("Unsupported mechanism: " + mechanism); }