Re: Retrieve User Role

2009-01-08 Thread Ben Tomlinson
rname = request.getRemoteUser() %> > > and in EL you can use the 'pageContext'. Try: > > ${pageContext.request.remoteUser} /// I think... you may need to check. > > and use as you see fit... > > Alan > > > Ben Tomlinson wrote: >> >> I have

Retrieve User Role

2009-01-08 Thread Ben Tomlinson
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? Mai