I have a need to display a persons roster on a webpage.
The person is already authenticated into the web-app which is on an intranet.
store the users credentials in the session (username, user full name),
but not the password as the authentication on this web-app is done
using NTLM. (In other words, no login required).
I want to display this users roster without them having to provide a password…so connection.login(username) is what I need.
The smack api does not have this method…connection.login(username,password) or connection.loginAnonymously() is what I found.
Any ideas as to how to accomplish this?
IF this is not possible then is there a way to display the status of all users currently logged into openfire similar to how the admin site (9090) does it?
This would be another viable alternative.