You can't do this in your code, you must configure your server appropriatly
As far as I know, Apache (with an mod_auth_NTLM) or IIS are the only two web-servers that offer this kind of authentication mechanisim. I think request.getRemoteUser() only works when the user has previosulsy been authentiated. Glenn > -----Original Message----- > From: Kuppuswamy, Sairam (SUPP) > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 8:39 PM > To: [EMAIL PROTECTED] > Subject: HELP with request.getRemoteUser() > Importance: High > > > I have a question here > How Does this works for REMOTE_USER as request.getRemoteUser() > Can it pop-up the NT Authentication sought of window ? > > How can I implement the Windows Login Window (or > Authentication Window) ? > > Please HELP > > ============================================================== > ============= > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
