Varga, I don't believe you will be able to access the user's OS login / password via JSP. I believe the problem you are having with the getRemoteUser method is that you are not authenticating the user (ie. with Secure Socket Layers). If you are just using the HTTP protocol, I don't think you will be able to use that either. Have you thought of having a single login JSP / Servlet, that could store the user's information in the HttpSession object, and reuse it for any services you have deployed on your server. At least then they would only have to type their password in one time (when they connect to your login page), and it would be good for the duration of their session. You may also want to look into digital certificates and SSL comms, although their would definitely be overhead associated with that. Good luck. Rob ------Original Message------ From: Varga Sandor <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: February 8, 2001 8:41:13 AM GMT Subject: How can I obtain the users name ? Hello Everibody ! I'd like to know if it is possible (and how if yes ) to obtain the name of the user who has entered his name and password - authenticated in MS Windows ( 95,98, NT, 2000) - in JSP. That is for making the user's life easyer by not forceing to enter the name and password more than once. I tryed using request.getRemoteUser(), but it returns NULL. I am using Tomcat 3.2 with IIS on MS Windows 2000 Professional. I red the documenattion, spent hours on Internet, but could not solve the problem. Please help me. Thanks, Varga Sandor =========================================================================== 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup =========================================================================== 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
