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 request,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkAction(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkCSRFProtection(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkRender(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
checkResource(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
static com.liferay.portal.kernel.portlet.PortletContainer |
createSecurityPortletContainerWrapper(com.liferay.portal.kernel.portlet.PortletContainer portletContainer) |
protected String |
getOriginalURL(javax.servlet.http.HttpServletRequest request) |
protected javax.servlet.http.HttpServletRequest |
getOwnerLayoutRequestWrapper(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
protected boolean |
isValidPortletId(String portletId) |
void |
preparePortlet(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
com.liferay.portal.kernel.portlet.ActionResult |
processAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.ActionResult |
processActionException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.security.auth.PrincipalException pe) |
List<Event> |
processEvent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.model.Layout layout,
Event event) |
void |
processPublicRenderParameters(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Layout layout) |
void |
processPublicRenderParameters(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Layout layout,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
processRenderException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet) |
protected void |
processServeResourceException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.security.auth.PrincipalException pe) |
void |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet) |
void |
serveResource(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.Portlet portlet) |
public SecurityPortletContainerWrapper(com.liferay.portal.kernel.portlet.PortletContainer portletContainer)
public static com.liferay.portal.kernel.portlet.PortletContainer createSecurityPortletContainerWrapper(com.liferay.portal.kernel.portlet.PortletContainer portletContainer)
public void preparePortlet(javax.servlet.http.HttpServletRequest request, 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 request, javax.servlet.http.HttpServletResponse response, 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<Event> processEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.model.Layout layout, 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 request, com.liferay.portal.kernel.model.Layout layout)
processPublicRenderParameters
in interface com.liferay.portal.kernel.portlet.PortletContainer
public void processPublicRenderParameters(javax.servlet.http.HttpServletRequest request, 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 request, javax.servlet.http.HttpServletResponse response, 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 serveResource(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, 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 request, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkAction(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkCSRFProtection(javax.servlet.http.HttpServletRequest request, 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 request, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected void checkResource(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet) throws Exception
Exception
protected String getOriginalURL(javax.servlet.http.HttpServletRequest request)
protected javax.servlet.http.HttpServletRequest getOwnerLayoutRequestWrapper(javax.servlet.http.HttpServletRequest request, 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 request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.security.auth.PrincipalException pe)
protected void processRenderException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, 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 request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.security.auth.PrincipalException pe)