Dec 10, 2008 5:32 AM
programmatically add roster items and users
-
Like (0)
hi.
i'm creating an application that interact with openfire jabber server.
my application have to programmatically create Users, RosterItems...
I use a postgresql database and create Users and RosterItems directly on the database.
The problem is that openfire has cached data and the changes won't take effect until server restarts.
Is there any way to force cache renewal, or a better way to add Users and RosterItems etc without writing directly on db?
Thank you in advance
Paolo Chiodi
Hi,
Check out the UserService plugin, it will help you accomplish some of what you want.
daryl
thank you for your answer.
i was really looking for something like that plugin, but i need some more functionality
maybe i'll evaluate the possibility to write my own plugin
Paolo Chiodi
Hi! I've got the same task - to control (add/edit/delete) users and user's roster from outside. As you've mentioned above, user controlling can be particulary performed via userService plugin, but there's no way to manipulate with user's roster. It seems, that we aslo have to create such plugin by ourselves
May be this will be helpful for someone. To manage user's roster, please see http://community.igniterealtime.org/message/228450#228450.