What about the password and domain name? I have an application where user
gives Domain name/Username and password. I want to authenticate this
information against NT domain.

The System.getProperties().getProperty("user.name"); gives information abou
the user name who logged in into machine. But one can use his/her
credentials to log into the application from some other machine.

-----Original Message-----
From: Joe Brennan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 9:49 AM
To: [EMAIL PROTECTED]
Subject: Re: How to do authentication in java against NT domain?


This code will the OS user of the JVM
System.getProperties().getProperty("user.name");

In most cases I'd say this will be the same as the Logged-In User on an NT /
Windows 2000 Machine. I did a Test and it correctly returned my UserName.

Joe

-----Original Message-----
From: Bhangale, Bhushan [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 14:38
To: [EMAIL PROTECTED]
Subject: How to do authentication in java against NT domain?


Hi All,

I want to authenticate a person userid and password against NT domain. How
to go about it?

Thanks & Regards
Bhushan Bhangale
Sr. Software Engineer
Fusion Infotech India Private Ltd.
Ph. no. - 1-212-641-6932 (O)



"The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only. If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although The Bank of New York attempts to sweep e-mail and attachments for
viruses, it does not guarantee that either are virus-free and accepts no
liability for any damage sustained as a result of viruses."

===========================================================================
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


"The information in this e-mail, and any attachment therein, is
confidential and for use by the addressee only. If you are not the
intended recipient, please return the e-mail to the sender and delete
it from your computer. Although The Bank of New York attempts to
sweep e-mail and attachments for viruses, it does not guarantee that
either are virus-free and accepts no liability for any damage sustained
as a result of viruses."

===========================================================================
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

Reply via email to