How to get the current windows username?
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??
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.
By csiwhq in forum Careers
Last Post: 12-20-2005, 11:55 AM
By Carcophan in forum C++
Last Post: 11-28-2005, 10:26 PM
By rkbnair in forum VB Classic
Last Post: 10-10-2005, 10:29 AM
By Jeff Richard in forum VB Classic
Last Post: 07-01-2002, 10:28 PM
By Toni Bisson in forum VB Classic
Last Post: 01-19-2001, 05:50 PM
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