File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Tomcat Client Authentication, Need client username
Joined: Aug 25, 2004
Oct 22, 2004 08:35:00
i am hoping some one can help me.
I have a
page running on a
5.0.12 Server. I need to dettect the users logged on name, possibly the windows logged on username.
If i do
user= System.getProperty("user.name"); %>, I always get my name as I am logged on the server.
We did it so easily with Cold Fusion and would hate to rely on that for it to work.
Thanks in advance.
Joined: Feb 20, 2001
Oct 23, 2004 10:44:00
Look into javax.servlet.http.HttpServletRequest.getUserPrincipal()
I agree. Here's the link:
subject: Tomcat Client Authentication, Need client username
How to call client with the help of servlets
Not able to use two ports in RMI chat application
Help with Chat Program, update user list
Need to get the user id of the machine raising the request.
How to get username of currently logged user on client machine
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015