Meaningless Drivel is fun!*
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 | 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 » Portals and Portlets
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: 67
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
 
Don't get me started about those stupid light bulbs.
 
subject: Accessing Liferay User object for logged-in user
 
Similar Threads
Accesing request.getRemoteUser() using EL expressions
SSO in WAS 5.0 on z/OS
Default Window State in Liferay 6.0.5
request.getRemoteUser() Problem
How to Logout and clear the user details in JAAS