Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.security.auth
Class MVCPortletAuthTokenWhitelist

java.lang.Object
  extended by com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
      extended by 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


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
serviceRegistrations, serviceTrackers
 
Constructor Summary
MVCPortletAuthTokenWhitelist()
           
 
Method Summary
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)
           
 
Methods inherited from class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
destroy, getOriginCSRFWhitelist, getPortletCSRFWhitelist, getPortletCSRFWhitelistActions, getPortletInvocationWhitelist, getPortletInvocationWhitelistActions, isOriginCSRFWhitelisted, isPortletCSRFWhitelisted, isPortletInvocationWhitelisted, isValidSharedSecret, registerPortalProperty, resetOriginCSRFWhitelist, resetPortletCSRFWhitelist, resetPortletInvocationWhitelist, resetPortletInvocationWhitelistActions, trackWhitelistServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVCPortletAuthTokenWhitelist

public MVCPortletAuthTokenWhitelist()
Method Detail

isPortletCSRFWhitelisted

public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
                                        com.liferay.portal.kernel.model.Portlet portlet)
Specified by:
isPortletCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
Overrides:
isPortletCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist

isPortletInvocationWhitelisted

public boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
                                              com.liferay.portal.kernel.model.Portlet portlet)
Specified by:
isPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
Overrides:
isPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist

isPortletURLCSRFWhitelisted

public boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
Specified by:
isPortletURLCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
Overrides:
isPortletURLCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist

isPortletURLPortletInvocationWhitelisted

public boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
Specified by:
isPortletURLPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
Overrides:
isPortletURLPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist

getMVCActionCommandNames

protected String[] getMVCActionCommandNames(javax.servlet.http.HttpServletRequest request,
                                            String portletId)

getMVCActionCommandNames

protected String[] getMVCActionCommandNames(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)

getWhitelistValue

protected String getWhitelistValue(String portletName,
                                   String whitelistAction)

trackWhitelistServices

protected void trackWhitelistServices(String whitelistName,
                                      Class<?> serviceClass,
                                      Set<String> whiteList)

Liferay 7.0-ce-b7 portal-impl