Java - userid & password checking

admin

Administrator
Staff member
Help:I am writing a Java program to run on Solaris (and probably AIX too) thatopens asocket for requests. The request will come from a Win98/NT PC. The requestdatawill include some function to be performed plus a valid Solaris userid andpassword(i.e. The normal userid & password that the user would use to log onto Solarisbox via telnet.).I would like to make 1 or 2 class/method calls to verify that not only isthe userid validon box where the tool is running but also it is really the correct user (assumingofcourse the user didn't give out their password <grin>). I don't want tomaintain auserid/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 Javaprogrammer(or OO programmer) so sample code would be greatly appreciated.Thanks for your help.laterRoger...
 
Back
Top