public static void addSupportedMechanism(String mechanismName) {
        if ( mechanismName == null || mechanismName.isEmpty() ) {
            throw new IllegalArgumentException( "Argument 'mechanism' must cannot be null or an empty string." );
        }
        mechanisms.add( mechanismName.toUpperCase() );
        Log.info( "Support added for the '{}' SASL mechanism.", mechanismName.toUpperCase() );
    }
Adds a new SASL mechanism to the list of supported SASL mechanisms by the server. The
new mechanism will be offered to clients and connection managers as stream features.<p>

Note: this method simply registers the SASL mechanism to be advertised as a supported
mechanism by Openfire. Actual SASL handling is done by Java itself, so you must add
the provider to Java.

@param mechanismName the name of the new SASL mechanism (cannot be null or an empty String).
xmppserver/src/main/java/org/jivesoftware/openfire/net/SASLAuthentication.java