I switched to asmack 4.0.1-SNAPSHOT from 0.8.10, based on the thread referred at the bottom. The compilation issues mostly got resolved easily on upgrading, but it seems ConnectionConfiguration.setSASLAuthenticationEnabled, setTruststoreType, setTruststorePassword, setTruststorePath and setTruststoreType are no longer available. What is the alternative way to achieve these in the new API?