public class SecurityPortletContainerWrapper
extends Object
implements com.liferay.portal.kernel.portlet.PortletContainer
Constructor and Description |
---|
SecurityPortletContainerWrapper(com.liferay.portal.kernel.portlet.PortletContainer portletContainer) |
Modifier and Type | Method and Description |
---|---|
protected void |
check(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkAction(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkCSRFProtection(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkRender(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkResource(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected String |
getOriginalURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected javax.servlet.http.HttpServletRequest |
getOwnerLayoutRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
protected boolean |
isValidPortletId(String portletId) |
void |
preparePortlet(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
com.liferay.portal.kernel.portlet.ActionResult |
processAction(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.ActionResult |
processActionException(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.security.auth.PrincipalException principalException) |
List<javax.portlet.Event> |
processEvent(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
javax.portlet.Event event) |
void |
processPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Layout layout) |
void |
processPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
processRenderException(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
processServeResourceException(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.security.auth.PrincipalException principalException) |
void |
render(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet) |
void |
renderHeaders(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet) |
void |
serveResource(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.model.Portlet portlet) |
public SecurityPortletContainerWrapper(com.liferay.portal.kernel.portlet.PortletContainer portletContainer)
public void preparePortlet(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
preparePortlet
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
public com.liferay.portal.kernel.portlet.ActionResult processAction(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
processAction
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
public List<javax.portlet.Event> processEvent(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.Layout layout, javax.portlet.Event event) throws com.liferay.portal.kernel.portlet.PortletContainerException
processEvent
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
public void processPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Layout layout)
processPublicRenderParameters
in interface com.liferay.portal.kernel.portlet.PortletContainer
public void processPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet)
processPublicRenderParameters
in interface com.liferay.portal.kernel.portlet.PortletContainer
public void render(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
render
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
public void renderHeaders(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
renderHeaders
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
public void serveResource(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
serveResource
in interface com.liferay.portal.kernel.portlet.PortletContainer
com.liferay.portal.kernel.portlet.PortletContainerException
protected void check(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkAction(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkCSRFProtection(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkRender(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkResource(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected String getOriginalURL(javax.servlet.http.HttpServletRequest httpServletRequest)
protected javax.servlet.http.HttpServletRequest getOwnerLayoutRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected boolean isValidPortletId(String portletId)
protected com.liferay.portal.kernel.portlet.ActionResult processActionException(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.security.auth.PrincipalException principalException)
protected void processRenderException(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.portlet.PortletContainerException
com.liferay.portal.kernel.portlet.PortletContainerException
protected void processServeResourceException(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.security.auth.PrincipalException principalException)