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 request,
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 request,
com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
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) |
destroy, getOriginCSRFWhitelist, getPortletCSRFWhitelist, getPortletCSRFWhitelistActions, getPortletInvocationWhitelist, getPortletInvocationWhitelistActions, isOriginCSRFWhitelisted, isPortletCSRFWhitelisted, isPortletInvocationWhitelisted, isValidSharedSecret, registerPortalProperty, resetOriginCSRFWhitelist, resetPortletCSRFWhitelist, resetPortletInvocationWhitelist, resetPortletInvocationWhitelistActions, trackWhitelistServices
public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet)
isPortletCSRFWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletCSRFWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet)
isPortletInvocationWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletInvocationWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletURLCSRFWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletURLPortletInvocationWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
protected String[] getMVCActionCommandNames(javax.servlet.http.HttpServletRequest request, 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)