You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hari Venkatesan <hv...@pfgc.com> on 2002/12/04 22:00:16 UTC

out of Context


Is there a way to retrieve windows userid from the client side using
java or javascript?

Hari

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: out of Context

Posted by David Brown <dw...@webitplanet.com>.
Hari Venkatesan writes: 

>  
> 
> Is there a way to retrieve windows userid from the client side using
> java or javascript? 
> 
> Hari 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org> 
> 
 

Hello Hari, i u r using realm and form based login this works 4 me:
String user = request.getUserPrincipal().getName();
hope this helps, david. 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>