src/main/java/org/jivesoftware/smack/SmackConfiguration.java
public static void addSaslMechs(Collection<String> mechs) {
        initialize();

        for (String mech : mechs) {
            addSaslMech(mech);
        }
    }
public static void addSaslMechs(Collection<String> mechs) {
        initialize();

        for (String mech : mechs) {
            addSaslMech(mech);
        }
    }
Add a Collection of SASL mechanisms to the list to be used.

@param mechs
the Collection of SASL mechanisms to be added