I want to authenticate user with OS. I am getting username, password as input from user & I simply want to check with os whether that username, password is right or wrong.
I don't want to do LDAP authenticating. Only os authentication where my program is running. Second thing program should run on windows from xp on-wards, linux & if possible unix flavors.
Is there any way I can achieve that?
While googling I found : https://github.com/twall/jna
But still trying to figure out whether this library is right for my requirement or not