Authenticate against windows 2000 server securtiy using Java.JNI
How could you use Java or JNI to read the password and group membeship from the operating system for a given windows 2000 user, from a servlet/class?
[156 byte] By [
adimit99a] at [2007-10-3 2:52:23]

I doubt there is any process in any language that can retrieve a password. Even Windows, with its reputation for less-than-perfect security, wouldn't do that.
Are you looking to build some sort of single sign-on module? You wouldn't be able to get the password, but you might be able to pass a token indicating the users credentials. You'd have to delve into the MSDN resources to get that.
Once you figure out how to what you want using COM, you can more easily integrate it into Java using the sourceforge projects Jacob or JAWIN.