public static Set<String> getImplementedMechanisms()
    {
        final Set<String> result = new HashSet<>();
        final Enumeration<SaslServerFactory> saslServerFactories = Sasl.getSaslServerFactories();
        while ( saslServerFactories.hasMoreElements() )
        {
            final SaslServerFactory saslServerFactory = saslServerFactories.nextElement();
            Collections.addAll( result, saslServerFactory.getMechanismNames( null ) );
        }
        return result;
    }
Returns a collection of mechanism names for which the JVM has an implementation available.
<p>
Note that this need not (and likely will not) correspond with the list of mechanisms that is offered to XMPP
peer entities, which is provided by #getSupportedMechanisms.

@return a collection of SASL mechanism names (never null, possibly empty)
xmppserver/src/main/java/org/jivesoftware/openfire/net/SASLAuthentication.java