-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ben,
Ben Tomlinson wrote:
> 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.
As Alan points out, you can get the UserPrincipal (or
Perfect. Thanks.
On Thu, Jan 8, 2009 at 5:40 PM, Alan Chaney wrote:
> Hi Ben
>
> You can get it from the request. In JSP you can access the request implict
> object to get the value of the HttpServletRequest#getRemoteUser() method ...
>
> "Returns the login of the user making this request, if th
Hi Ben
You can get it from the request. In JSP you can access the request
implict object to get the value of the
HttpServletRequest#getRemoteUser() method ...
"Returns the login of the user making this request, if the user has been
authenticated, or null if the user has not been authenticate
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