Meaningless Drivel is fun!
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

request.getRemoteUser() Problem

shailesh kumar
Ranch Hand

Joined: Jul 18, 2005
Posts: 36
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

Joined: Mar 06, 2001
Posts: 13459

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

[ August 09, 2005: Message edited by: David O'Meara ]
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

For the record you have been warned previously.
I agree. Here's the link:
subject: request.getRemoteUser() Problem
jQuery in Action, 3rd edition