-
How to get the current windows username?
hi,
I m new for java. Is there any way for me to get the username/password of the windows when a user was browsing my JSP page??
scenario:
I have a login page which will required to key in the username and password. Once the user type in the username/password, it's will check with the current windows user login username and password.
If they are same, it's will allow the user to access the menu.
How can i retrieve the username/password from windows ?? This jsp was located in the unix based server.
I search through the net, advapi32.dll was the one controlling the windows logonuser... how can i access it?? Is there any sample code??
-
Only way to do such a thing that I'm aware of is if there's an LDAP server set up that you could connect to.
Similar Threads
-
By csiwhq in forum Careers
Replies: 0
Last Post: 12-20-2005, 11:55 AM
-
By Carcophan in forum C++
Replies: 2
Last Post: 11-28-2005, 10:26 PM
-
By rkbnair in forum VB Classic
Replies: 1
Last Post: 10-10-2005, 10:29 AM
-
By Jeff Richard in forum VB Classic
Replies: 1
Last Post: 07-01-2002, 10:28 PM
-
By Toni Bisson in forum VB Classic
Replies: 8
Last Post: 01-19-2001, 05:50 PM
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