ah - i completely misunderstood the question. if all you want is the name of the
user, then this will do the trick.
-bml
Pol Navarro wrote:
> | 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
--
_________________________________________________________________________
Brian M. Long RandomWalk Computing, Inc. [EMAIL PROTECTED]
'Apollo was astonished / Dionysus thought me mad' -Hemispheres, 14:52
__________________________________________________________________________
===========================================================================
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