public class MVCPortletAuthTokenWhitelist extends BaseAuthTokenWhitelist
serviceRegistrations, serviceTrackers| Constructor and Description |
|---|
MVCPortletAuthTokenWhitelist() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
getMVCActionCommandNames(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String portletId) |
protected java.lang.String[] |
getMVCActionCommandNames(LiferayPortletURL liferayPortletURL) |
protected java.lang.String |
getWhitelistValue(java.lang.String portletName,
java.lang.String whitelistAction) |
boolean |
isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
Portlet portlet) |
boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
Portlet portlet) |
boolean |
isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL) |
boolean |
isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL) |
protected void |
trackWhitelistServices(java.lang.String whitelistName,
java.lang.Class<?> serviceClass,
java.util.Set<java.lang.String> whiteList) |
destroy, isOriginCSRFWhitelisted, isValidSharedSecret, registerPortalProperty, trackWhitelistServicespublic boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
Portlet portlet)
isPortletCSRFWhitelisted in interface AuthTokenWhitelistisPortletCSRFWhitelisted in class BaseAuthTokenWhitelistpublic boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
Portlet portlet)
isPortletInvocationWhitelisted in interface AuthTokenWhitelistisPortletInvocationWhitelisted in class BaseAuthTokenWhitelistpublic boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted in interface AuthTokenWhitelistisPortletURLCSRFWhitelisted in class BaseAuthTokenWhitelistpublic boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted in interface AuthTokenWhitelistisPortletURLPortletInvocationWhitelisted in class BaseAuthTokenWhitelistprotected java.lang.String[] getMVCActionCommandNames(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String portletId)
protected java.lang.String[] getMVCActionCommandNames(LiferayPortletURL liferayPortletURL)
protected java.lang.String getWhitelistValue(java.lang.String portletName,
java.lang.String whitelistAction)
protected void trackWhitelistServices(java.lang.String whitelistName,
java.lang.Class<?> serviceClass,
java.util.Set<java.lang.String> whiteList)