public static void removeSupportedMechanism(String mechanismName) {
        if ( mechanismName == null || mechanismName.isEmpty() ) {
            throw new IllegalArgumentException( "Argument 'mechanism' must cannot be null or an empty string." );
        }

        if ( mechanisms.remove( mechanismName.toUpperCase() ) )
        {
            Log.info( "Support removed for the '{}' SASL mechanism.", mechanismName.toUpperCase() );
        }
    }
Removes a SASL mechanism from the list of supported SASL mechanisms by the server.

@param mechanismName the name of the SASL mechanism to remove (cannot be null or empty, not case sensitive).
xmppserver/src/main/java/org/jivesoftware/openfire/net/SASLAuthentication.java