aspose file tools
The moose likes Portals and Portlets and the fly likes Accessing Liferay User object for logged-in user 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 » Portals and Portlets
Reply Bookmark "Accessing Liferay User object for logged-in user " Watch "Accessing Liferay User object for logged-in user " New topic
Author

Accessing Liferay User object for logged-in user

Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 66
Hello Rich,
I've recently started working on Vaadin(6.6.4) based portlets on Liferay (6.0.6) using Tomcat.
Does your new book includes contents realted to Vaadin based portlets?

As of now I'm facing trouble in accessing Liferay User object for logged-in user.
My application class implements PortletRequestListener and PortletListener interfaces.
Corresponding methods implemented has following code:


This code is not working at my end.
Any clue on this?


--- Shantanu
Rich Sezov
Author
Greenhorn

Joined: Dec 13, 2006
Posts: 17
You might want to try getting the User out of the ThemeDisplay or ServiceContext objects instead. That always works for me.

--Rich
 
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: Accessing Liferay User object for logged-in user
 
Similar Threads
request.getRemoteUser() Problem
Default Window State in Liferay 6.0.5
SSO in WAS 5.0 on z/OS
How to Logout and clear the user details in JAAS
Accesing request.getRemoteUser() using EL expressions