smack version:4.3.4
openfire version 4.4.4
fail to changepassword,throw the follow exception:
java.lang.IllegalStateException: Changing password over insecure connection.
follow as the code to change password:
AccountManager accountManager = AccountManager.getInstance(mConnection);
accountManager.changePassword(newPassword);