My organization is currently working to implement a Jive Messenger server to handle our internal IM. I’'ve run into an interesting problem.
We plan to create a Jabber client which will run as an applet on a web page. In order for the applet to connect to the server without requiring the user to enter their name and password again, we want to dynamically generate the web page so that it will pass those parameters to the chat applet. We want those parameters to be an ID number and an arbitrary login ticket rather than the username and password, so that the name/pass won’‘t be visible from a browser’'s ‘‘view source’’. We will then create a custom authentication class that checks the ID number and login ticket against users who are already logged into our web systems.
I’'ve been able to write my own AuthProvider class to handle our authentication system. The problem I ran into is how to take a successful ID log in and ‘‘rename’’ the user to his real username. Is it possible for the Jive Messenger server to authenticate a user, and then change his name?