added portal context setUserInSession

This commit is contained in:
francesco 2020-10-13 14:45:15 +02:00
parent 78eb17caa0
commit 3cad8de69a
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import javax.portlet.PortletRequestDispatcher;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import org.gcube.common.portal.PortalContext;
/**
* The Class GeoPortalDataEntryApp.
@ -38,6 +40,7 @@ public class GeoPortalDataEntryAppPortlet extends GenericPortlet{
*/
public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
//System.out.println("LOADING ********* FROM "+VIEW_JSP);
PortalContext.setUserInSession(request);
PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(VIEW_JSP);
rd.include(request,response);
}