|
-
Java - userid & password checking
Help:
I am writing a Java program to run on Solaris (and probably AIX too) that
opens a
socket for requests. The request will come from a Win98/NT PC. The request
data
will include some function to be performed plus a valid Solaris userid and
password
(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
of
course the user didn't give out their password <grin>). I don't want to
maintain a
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
programmer
(or OO programmer) so sample code would be greatly appreciated.
Thanks for your help.
later
Roger...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks