hi Suon
this method will return null if acess to the servlet is not restricted. If
the servlet is restricted then it will return the name of the user.
Refer jason hunter's book pages 81-84
rgs
anup
----- Original Message -----
From: "Suon, Thla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 18, 2000 11:50 PM
Subject: GetRemoteUser() Questions


> Hello everyone,
>
> Please help me how to authenticate http to get the "GetRemoteUser()
function
> working.  I am using Java
> Servlet.  How would I go about doing this?  Currently, what I have in my
> program is this:
>
> "String username = req.getRemoteUser();"  My return value was null.
Please
> help...
>
> Thanks,
> Tyla
>
>
___________________________________________________________________________
> 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