Package com.liferay.portal.security.auth
Class StrutsPortletAuthTokenWhitelist
Object
com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
com.liferay.portal.security.auth.StrutsPortletAuthTokenWhitelist
- All Implemented Interfaces:
com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
public class StrutsPortletAuthTokenWhitelist
extends com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
- Author:
- Tomas Polesovsky
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
serviceRegistrations, serviceTrackers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isPortletCSRFWhitelisted
(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) boolean
isPortletInvocationWhitelisted
(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) boolean
isPortletURLCSRFWhitelisted
(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) boolean
isPortletURLPortletInvocationWhitelisted
(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) protected boolean
isValidStrutsAction
(long companyId, String portletId, String strutsAction) Methods inherited from class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
destroy, isOriginCSRFWhitelisted, isValidSharedSecret, registerPortalProperty, trackWhitelistServices
-
Constructor Details
-
StrutsPortletAuthTokenWhitelist
public StrutsPortletAuthTokenWhitelist()
-
-
Method Details
-
isPortletCSRFWhitelisted
public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) - Specified by:
isPortletCSRFWhitelisted
in interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist
- Overrides:
isPortletCSRFWhitelisted
in classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isPortletInvocationWhitelisted
public boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) - Specified by:
isPortletInvocationWhitelisted
in interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist
- Overrides:
isPortletInvocationWhitelisted
in classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isPortletURLCSRFWhitelisted
public boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) - Specified by:
isPortletURLCSRFWhitelisted
in interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist
- Overrides:
isPortletURLCSRFWhitelisted
in classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isPortletURLPortletInvocationWhitelisted
public boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) - Specified by:
isPortletURLPortletInvocationWhitelisted
in interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist
- Overrides:
isPortletURLPortletInvocationWhitelisted
in classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isValidStrutsAction
-