powered by Jive Software

Read roster of all users in client application

Is it possible to read roster of all users in a client application?

I know the class RosterManager but how can I use it in a client application?

I’m developing a web server application that has to show the content of all rosters: it cannot use connection.getRoster() because the logged user is just a “backend application user”.



The roster is private to each user.

I have to read the roster of all users so I have two solutions:

  1. I can access the openfire database

  2. If I need to read the roster of the user xxx I will log as xxx user (I have to know its username and password)