aspose file tools*
The moose likes JSP and the fly likes request.getRemoteUser() Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "request.getRemoteUser() Problem" Watch "request.getRemoteUser() Problem" New topic
Author

request.getRemoteUser() Problem

shailesh kumar
Ranch Hand

Joined: Jul 18, 2005
Posts: 36
Hi,
I am using Tomacat Autehntication Login page and LDAP Settings as Log in page to my Struts application. When I retrieve the user profile using request.getRemoteUser() , Iam able to fetch the user name logged in on my machine(where I run my server). When I run the same app on diff mahchine the user is name is null. Any idea why its null ??, thanks in adavance.
Anurag Mishra
Ranch Hand

Joined: Sep 27, 2001
Posts: 133
Flush your tomcat Cache.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"anumishra1"
It appears that you have changed your display name to one that is invalid.

Accounts with invalid display names get deleted, often without warning. It appears you ignored your previous warning, your account has been mariked for deletion. Please change it back immediately

thanks,
Dave.
[ August 09, 2005: Message edited by: David O'Meara ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

For the record you have been warned previously.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: request.getRemoteUser() Problem
 
Similar Threads
Form Authentication - not getting the user
getting system info using servlet
How to Logout and clear the user details in JAAS
how to get remote login user name?
how to get remote user name in a jsp page?