How I can check user credentials for local computer?
For example, I have this strings:
Username: user
Password: pwd.
Scenario: Trying to login into windows or linux. if user user/pwd exist, method should return “true”.
I can’t use LDAP or databases, but I need use only local credentials…
This is possible?
and… if it’s possible, should provide for the application with the appropriate rights
You might want to use JAAS Login utility with JAAS Authentication and JAAS Authorization.
Seems to be doing what you want (if I understood your question well).