How to force user login using openfire API

I am trying to do a forece login of a client. This is trail to find if user login can be simulated using Openfire API and not Smack API.