tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Tomlinson" <>
Subject Retrieve User Role
Date Thu, 08 Jan 2009 22:22:13 GMT
I have set up login security for some of the pages in my website.  I
have a JDBCRealm setup and working correctly.  But now I want to
change the layout of my pages (all jsp pages) according to the user
that is logged in.  How do I retrieve information about the user that
is actually logged in?  Mainly I want the user role or the user name
but I can't seem to get it from the session.  Any help would be


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message