shiraz,
im not sure i follow your question fully, which means that the following
might be wrong advice, but it is my understanding that getRemoteUser()
retrieves information from the server itself, not from applets. so, my
guess is that in order to get the servler to recognize the user as logged
in, you would have to pass some kind of boolean authentication value to the
servlet to let it know that the user is indeed logged in; or create a
session object; or something along those lines.
in any case, i hope this is of use.
best,
paul
-----Original Message-----
From: Shiraz Wasim Zaidi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 24, 1999 4:12 PM
To: [EMAIL PROTECTED]
Subject: getting Remote User
Hi!,
I have a HTML page with an applet tag which is protected i.e if
a user access the above URL he is prompted with a login window.
After authentication applet talks to a servlet which is not protected
(as i dont want users to authenticate twice).
Would the above used user id ( incase of HTML) be accessible through
getRemoteUser() method in the servlet.
If not is there anyway to achieve this without protecting the servlet.
Note: I am using Netscape enterprise server 3.5.1 on solaris.
Thanks
Shiraz
___________________________________________________________________________
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