| Has anyone implemented a method to access the username of the person logged
| into an NT system through a JSP in any way?  Specifically the username of
| the person accessing the jsp through a browser.

Try request.getRemoteUser()

>From the doc:

public java.lang.String getRemoteUser()

     Returns the name of the user making this request, if the user has
logged in using HTTP authentication. This method
     returns null if the user login is not authenticated. Whether the user
name is sent with each subsequent request
     depends on the browser. Same as the value of the CGI variable
REMOTE_USER.
     Returns:
          a String specifying the name of the user making this request, or
null


Salut!

pol.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to