Package com.liferay.portal.security.auth
Class MVCPortletAuthTokenWhitelist
Object
com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
com.liferay.portal.security.auth.MVCPortletAuthTokenWhitelist
- All Implemented Interfaces:
com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
public class MVCPortletAuthTokenWhitelist
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 TypeMethodDescriptionprotected String[]getMVCActionCommandNames(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) protected String[]getMVCActionCommandNames(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId) protected StringgetWhitelistValue(String portletName, String whitelistAction) booleanisPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) booleanisPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) booleanisPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) booleanisPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) protected voidtrackWhitelistServices(String whitelistName, Class<?> serviceClass, Set<String> whiteList) Methods inherited from class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
destroy, isOriginCSRFWhitelisted, isValidSharedSecret, registerPortalProperty, trackWhitelistServices
-
Constructor Details
-
MVCPortletAuthTokenWhitelist
public MVCPortletAuthTokenWhitelist()
-
-
Method Details
-
isPortletCSRFWhitelisted
public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet) - Specified by:
isPortletCSRFWhitelistedin interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist- Overrides:
isPortletCSRFWhitelistedin 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:
isPortletInvocationWhitelistedin interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist- Overrides:
isPortletInvocationWhitelistedin classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isPortletURLCSRFWhitelisted
public boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) - Specified by:
isPortletURLCSRFWhitelistedin interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist- Overrides:
isPortletURLCSRFWhitelistedin classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
isPortletURLPortletInvocationWhitelisted
public boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) - Specified by:
isPortletURLPortletInvocationWhitelistedin interfacecom.liferay.portal.kernel.security.auth.AuthTokenWhitelist- Overrides:
isPortletURLPortletInvocationWhitelistedin classcom.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
-
getMVCActionCommandNames
-
getMVCActionCommandNames
protected String[] getMVCActionCommandNames(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) -
getWhitelistValue
-
trackWhitelistServices
-