Liferay 7.0-ce-b4

com.liferay.portal.security.auth
Class StrutsPortletAuthTokenWhitelist

java.lang.Object
  extended by com.liferay.portal.security.auth.BaseAuthTokenWhitelist
      extended by com.liferay.portal.security.auth.StrutsPortletAuthTokenWhitelist
All Implemented Interfaces:
AuthTokenWhitelist

public class StrutsPortletAuthTokenWhitelist
extends BaseAuthTokenWhitelist


Field Summary
 
Fields inherited from class com.liferay.portal.security.auth.BaseAuthTokenWhitelist
serviceRegistrations, serviceTrackers
 
Constructor Summary
StrutsPortletAuthTokenWhitelist()
           
 
Method Summary
 Set<String> getPortletCSRFWhitelistActions()
          Deprecated. 
 Set<String> getPortletInvocationWhitelistActions()
          Deprecated. 
 boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
           
 boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
           
protected  boolean isValidStrutsAction(long companyId, String portletId, String strutsAction)
           
 
Methods inherited from class com.liferay.portal.security.auth.BaseAuthTokenWhitelist
destroy, getOriginCSRFWhitelist, getPortletCSRFWhitelist, getPortletInvocationWhitelist, 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

StrutsPortletAuthTokenWhitelist

public StrutsPortletAuthTokenWhitelist()
Method Detail

getPortletCSRFWhitelistActions

@Deprecated
public Set<String> getPortletCSRFWhitelistActions()
Deprecated. 

Specified by:
getPortletCSRFWhitelistActions in interface AuthTokenWhitelist
Overrides:
getPortletCSRFWhitelistActions in class BaseAuthTokenWhitelist

getPortletInvocationWhitelistActions

@Deprecated
public Set<String> getPortletInvocationWhitelistActions()
Deprecated. 

Specified by:
getPortletInvocationWhitelistActions in interface AuthTokenWhitelist
Overrides:
getPortletInvocationWhitelistActions in class BaseAuthTokenWhitelist

isPortletCSRFWhitelisted

public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
                                        Portlet portlet)
Specified by:
isPortletCSRFWhitelisted in interface AuthTokenWhitelist
Overrides:
isPortletCSRFWhitelisted in class BaseAuthTokenWhitelist

isPortletInvocationWhitelisted

public boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
                                              Portlet portlet)
Specified by:
isPortletInvocationWhitelisted in interface AuthTokenWhitelist
Overrides:
isPortletInvocationWhitelisted in class BaseAuthTokenWhitelist

isPortletURLCSRFWhitelisted

public boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
Specified by:
isPortletURLCSRFWhitelisted in interface AuthTokenWhitelist
Overrides:
isPortletURLCSRFWhitelisted in class BaseAuthTokenWhitelist

isPortletURLPortletInvocationWhitelisted

public boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
Specified by:
isPortletURLPortletInvocationWhitelisted in interface AuthTokenWhitelist
Overrides:
isPortletURLPortletInvocationWhitelisted in class BaseAuthTokenWhitelist

isValidStrutsAction

protected boolean isValidStrutsAction(long companyId,
                                      String portletId,
                                      String strutsAction)

Liferay 7.0-ce-b4