This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes Faces Context getRemoteUser() method is giving null value. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Faces Context getRemoteUser() method is giving null value." Watch "Faces Context getRemoteUser() method is giving null value." New topic
Author

Faces Context getRemoteUser() method is giving null value.

Praful Sinha
Greenhorn

Joined: Jan 25, 2008
Posts: 18
Hi all,

I am using HttpServletRequest to get the Faces request in Tomcat. But When i try to look out remoteUser by method call request.getRemortUser() in application i get allways null value.

Is there is any concept of seting user in servlet request.

Or setting user id in faces context.

Thanks in advance.
Praful Sinha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Faces Context getRemoteUser() method is giving null value.