Foros de discusión

How to share the attribute after user logs into liferay application .

Kiran Kumar Boyini, modificado hace 11 años.

How to share the attribute after user logs into liferay application .

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Hi All,

I have a requirement. I have a portlet which will displays all the roles related to user after log into liferay application.I am giving an option to the user in one portlet select his role which he wants and that role available for entire liferay application, we are providing limit of access to the w r to user's selected role in portlet.

For this I have used session object, portletsession object.But I am not able to get the role in other portlets except portlet which I am sending the request.

Tell how can I achieve this requirement. I am using liferay 6.1.

Regards,

Kiran.
thumbnail
David H Nebinger, modificado hace 11 años.

RE: How to share the attribute after user logs into liferay application .

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
Portlet session is unique for each portlet instance and is not visible to other portlets.

What you want is portlet IPC...
Kiran Kumar Boyini, modificado hace 11 años.

RE: How to share the attribute after user logs into liferay application .

Expert Mensajes: 287 Fecha de incorporación: 2/06/11 Mensajes recientes
Thank you for Reply.