Hi,
I have recently discovered the tomcat manager can not only show a list
of sessions, but the "Gussed username" for that session. This is very
handy except it seems to read a session variable called "user" and just
displays it. Our session object called "user" is a class not a string,
show it displays things like "[EMAIL PROTECTED]".
How do people manage this, do they implement a toString() to handle
display of the user, or is there another way to teach the manager
application the session name? (I am trying to find this in the source
code but am only up to this so far:
------------------------------
public static String guessDisplayUserFromSession(Session in_session) {
Object user = SessionUtils.guessUserFromSession(in_session);
return escapeXml(user);
}
-------------------------------
Thanks,
Jacob
_________________________________________________
Jacob Rhoden
Application Architect
Systems Development and Integration
University of Melbourne
Phone: +61 3 8344 2884
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]