47484950515253545556
if (server.contains(mechanism)) { if (mechanism.equals("PLAIN")) { return new PlainMechanism(); } else if (mechanism.equals("EXTERNAL")) { return new ExternalMechanism(); } } return null; }