 <p>If you are using openfire on server side then you can use userservice plugin there. </p> <p>Using this plugin you can hit http or https web service to register the user or deactivate the user.</p>