aspose file tools
The moose likes JSP and the fly likes request.getRemoteUser() Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: request.getRemoteUser() Problem
 
Similar Threads
Form Authentication - not getting the user
how to get remote login user name?
how to get remote user name in a jsp page?
How to Logout and clear the user details in JAAS
getting system info using servlet