I am trying to setup a chat messanger using xmpp and smack.
I am able to connect,login
m_connection.connect();
SASLAuthentication.supportSASLMechanism("PLAIN", 0);
m_connection.login(userName, password);
Also I am able to create new users as admin.
AccountManager ac = m_connection.getAccountManager();
ac.createAccount(user, password);
The only thing that is missing in my cycle is when a client wants to register for the first time. How does the admin user get a notification/request for creating a new user. Is there any listener that I might have missed?
Thanks!