You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Barker <wb...@wilshire.com> on 2003/05/01 07:56:58 UTC

Re: Obtaining USERNAME

Alternatively: request.getRemoteUser().

"Larry Meadors" <La...@plumcreek.com> wrote in message
news:seaf6a2e.086@cfo-msg.plumcreek.net...
> yes, the request.getUserPrinciple() method does that.
>
> >>> alberto.magalhaes@bnc.pt 04/30/03 05:58 AM >>>
> **********************************************************************
> Este email assim como os ficheiros que possa ter em anexo s�o
> confidenciais
> e para uso exclusivo da pessoa ou organiza��o para o qual foi enviado.
> Se recebeu este email por engano por favor notifique Redes@bnc.pt
>
> Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
> n�o tendo sido encontrados virus.
>
> www.mimesweeper.com
> ***********************************************************************
>
> Hi,
> It is possible to obtain in a servlet, the username, after  identified
> with
> tomcat user authentication.
>
> For example, the manager application, ask a username and a password.
> Then I run it a servlet, and I want to obtain the username.
> It is possible? How?
>
> Thanks in advance..
> Alberto Magalh�es




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org