public static void addSaslMech(String mech) {
        initialize();

        if (!defaultMechs.contains(mech)) {
            defaultMechs.add(mech);
        }
    }
public static void addSaslMech(String mech) {
        initialize();

        if (!defaultMechs.contains(mech)) {
            defaultMechs.add(mech);
        }
    }
public static void addSaslMech ( String mech ) { initialize ( ) ; if ( ! defaultMechs . contains ( mech ) ) { defaultMechs . add ( mech ) ; } }
Add a SASL mechanism to the list to be used.

@param mech
the SASL mechanism to be added
Add a SASL mechanism to the list to be used .