aspose file tools
The moose likes Portals and Portlets and the fly likes Unable to retrieve User Info Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Unable to retrieve User Info " Watch "Unable to retrieve User Info " New topic
Author

Unable to retrieve User Info

Avishek Banerjee
Greenhorn

Joined: Jul 11, 2006
Posts: 17
Hi,

I am using Sun Java Portal Server. I tried to retrieve the lastname and firstname of the user following the guidelines given in the JSR 168 specs. But I got a null in each case. To get these value I set the user.name.family and user.name.given in the portlet.xml and used the same to retrieve the value in the portlet code, but nothing came out.

I have a doubt in this regard now. Are the property names standards or just indicative guidelines and it is upto the respective Portlet Containers to provide their own names? If this is the case, then what is the name of these properties for Sun Java Portal Server.


Avishek<br />SCJP 5.0 - 90%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to retrieve User Info
 
Similar Threads
the right portal framework
web server and portal server - difference
Retrieve user Information
How to pass Global parameter across portlets which are using JSR 168 API
Struts portlet in Liferay