JBoss User info from portlet

P

priyom

Hi,

Inside a portlet is there any way to gather the portal login user
information?
I want to have access to the User name, email, etc of the user
registered with the portal.
Even read only information will do.

Regards,
Priyom Sarkar
 
W

wesley.hall

priyom said:
Hi,

Inside a portlet is there any way to gather the portal login user
information?
I want to have access to the User name, email, etc of the user
registered with the portal.
Even read only information will do.

Regards,
Priyom Sarkar

Priyom,

Yes, the portlet specification provides a mechanism to provide portal
user information to individual portlets. Download the portlet
specification and read the section entitled "User Information".

The solution involves mapping JBoss specific values to generic values
and using the PortletRequest to access them. So you will also need to
know how JBoss provides these values to the container. I would think
this would be in the JBoss portal docs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top