Create session from plugin

Hi,

I need to create a session from plugin without using smack API, is it possible? If yes, how can I do it? Because from Openfire API seems to be possibile, but it’s not explained how.

Thanks in advance.

Look for the source code to the websocket plugin for openfire