hi , i want to obtain the current user object from my prtlet based on struts2 portlet,but I can only get javax.portlet.PortletContext use PortletActionContext.getPortletContext() in referenceGuide of Jboss Portal, it says anonymous wrote : The org.jboss.portal.api.PortalRuntimeContext gives access to state or operations associated at runtime with the current user of the portal. The String getUserId() retrieve the user id and can return null if no user is associated with the context. It also gives access to the PortalSession instance associated with the current user. Finally it gives access to the NavigationalStateContext associated with the current user.
but how can i associate javax.portlet.PortletContext with org.jboss.portal.api.PortalRuntimeContext?? thank you!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145282#4145282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145282 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
