// Accept MD5 incomming and use plain comparison with the file
PlainInitialiser cram = new PlainInitialiser();
cram.initialise(this);
// Accept Plain incomming and hash it for comparison to the file.
CRAMMD5Initialiser plain = new CRAMMD5Initialiser();
plain.initialise(this, CRAMMD5Initialiser.HashDirection.INCOMMING);
_saslServers.put(plain.getMechanismName(), cram);
_saslServers.put(cram.getMechanismName(), plain);
}