Java - userid & password checking
I am writing a Java program to run on Solaris (and probably AIX too) that
socket for requests. The request will come from a Win98/NT PC. The request
will include some function to be performed plus a valid Solaris userid and
(i.e. The normal userid & password that the user would use to log onto Solaris
box via telnet.).
I would like to make 1 or 2 class/method calls to verify that not only is
the userid valid
on box where the tool is running but also it is really the correct user (assuming
course the user didn't give out their password <grin>). I don't want to
userid/password list, I want to go against the OS via Java.
Does anybody know how you do anything like this?? I'm not an expert Java
(or OO programmer) so sample code would be greatly appreciated.
Thanks for your help.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center