[jboss-user] [JBoss Portal] - How can I get current portal user from javax.portlet.Portlet
do-not-reply at jboss.com
Fri Apr 18 23:30:10 EDT 2008
i want to obtain the current user object from my prtlet based on struts2 portlet,but I can only get javax.portlet.PortletContext use
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??
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
More information about the jboss-user