public class MVCPortletAuthTokenWhitelist
extends com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
| Constructor and Description |
|---|
MVCPortletAuthTokenWhitelist() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getMVCActionCommandNames(javax.servlet.http.HttpServletRequest httpServletRequest,
String portletId) |
protected String[] |
getMVCActionCommandNames(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) |
protected String |
getWhitelistValue(String portletName,
String whitelistAction) |
boolean |
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 void |
trackWhitelistServices(String whitelistName,
Class<?> serviceClass,
Set<String> whiteList) |
public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet)
isPortletCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet)
isPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletURLCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletURLPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistprotected String[] getMVCActionCommandNames(javax.servlet.http.HttpServletRequest httpServletRequest,
String portletId)
protected String[] getMVCActionCommandNames(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
protected String getWhitelistValue(String portletName,
String whitelistAction)
protected void trackWhitelistServices(String whitelistName,
Class<?> serviceClass,
Set<String> whiteList)