tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Muffett" <ma...@muffett.net>
Subject Re: JDBC Realms
Date Fri, 28 Sep 2001 08:47:21 GMT
Many thanks - it works fine.

Mark

----- Original Message -----
From: "Oleksandr Fedorenko" <maint@intercollab.kiev.ua>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 27, 2001 4:19 PM
Subject: Re: JDBC Realms


>
>
> Mark Muffett wrote:
>
> > In Tomcat v3.3 it is possible to get the name of the user logged into a
JDBC
> > Realm using something like:
> >
> >     request.getSession().getAttribute("j_username");
> >
> > but this doesn't work in Tomcat v4.0.  Does anyone know what j_username
has
> > become?
> >
>
> Use request.getRemoteUser()
>
> >
> > Thanks for any help.
> >
> > Mark Muffett
>


Mime
View raw message