How to Authenticate Windows Username Password using java?

Hi all,please let me the way to get windows username and password of the currently logged in user.OR Passsing a user name and password how to authenticate the values?
[187 byte] By [y_puri81@yahoo.coma] at [2007-11-27 5:06:13]
# 1
> to get windows username and password I hope there is no way to get the password (in Java or otherwise)!
BIJ001a at 2007-7-12 10:24:52 > top of Java-index,Java Essentials,Java Programming...
# 2
you can get the current windows username easy, it's in one of HKCU registry entries, look at MSDN... But the password? I'm with BIJ. No way. No how. No please.
corlettka at 2007-7-12 10:24:52 > top of Java-index,Java Essentials,Java Programming...
# 3
@Op. There is a login module for Windows in JAAS. That module can verify that a password is correct.Kaj
kajbja at 2007-7-12 10:24:52 > top of Java-index,Java Essentials,Java Programming...
# 4
For completeness' sake: under Un*x the environment variable LOGNAME is set to contain the login name.
BIJ001a at 2007-7-12 10:24:52 > top of Java-index,Java Essentials,Java Programming...