removed setUserInSession

This commit is contained in:
Francesco Mangiacrapa 2020-11-19 15:56:43 +01:00
parent e6c32701c5
commit dfac6a38f8
1 changed files with 1 additions and 3 deletions

View File

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