49505152535455565758
for (String mechanism : mechanisms) { if ("ANONYMOUS".equals(mechanism)) { return new AnonymousSaslClient(); } if ("SCRAM-SHA-1".equals(mechanism)) { return new ScramClient("SHA-1", authorizationId, cbh); } } return null; }