Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Sign up a new user

$
0
0

I'm working with Openfire and Smack. My problem is, whenever I want to sign someone up I need to log into Openfire, like this:

connection.login(Username,Password);
  
AccountManager accountManager =AccountManager.getInstance(connection);
  accountManager
.createAccount(Username1,Password1);

So, can I somehow avoid this useless login?

Thank you.

P.s. Sorry, couldn't appropriately insert code because something went wrong and code doubled itself.


Viewing all articles
Browse latest Browse all 4979

Trending Articles