Hey!

If you searched the archive, you would have found that you
are not guaranteed that getRemoteUser() will return anything
unless they are at least forced to login with basic authentication.
Solution is to make them login.

This has been discussed before on this list.  Check the archive.

Sans adieu,
Danny Rubis

Srikanth Rao wrote:

> Hey,
>
> Does any one have a clue about how to retrieve the
> Windows NT user Name in a servlet or a JSP. My servlet
> Container is Jakarta-Tomcat.
>
> Iam desperate about it? I have searched the archive,
> but couldn't find a possible solution.
>
> FYI: request.getRemoteUser() returns blank in my case.
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to