org.jivesoftware.openfire.SessionManager.getUserSessionsCount():
Returns number of client sessions that are authenticated with the server. This includes anonymous and non-anoymous users.
How can I get online anonymous or non-anoymous users’s count respectively ?