wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: http://aspose.com/file-tools
subject: request.getRemoteUser() Problem
Similar Threads
how to get remote login user name?
how to get remote user name in a jsp page?
getting system info using servlet
Form Authentication - not getting the user
How to Logout and clear the user details in JAAS