/**
* Create Authenticators for Plain Password file.
*/
// Accept AMQPlain incomming and compare it to the file.
AmqPlainInitialiser amqplain = new AmqPlainInitialiser();
amqplain.initialise(this);
// Accept Plain incomming and compare it to the file.
PlainInitialiser plain = new PlainInitialiser();
plain.initialise(this);
// Accept MD5 incomming and Hash file value for comparison
CRAMMD5Initialiser cram = new CRAMMD5Initialiser();
cram.initialise(this);
_saslServers.put(amqplain.getMechanismName(), amqplain);
_saslServers.put(plain.getMechanismName(), plain);
_saslServers.put(cram.getMechanismName(), cram);
}