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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL