Liferay 7.0-ce-b4

com.liferay.portal.security.auth
Class AuthTokenWhitelistImpl

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

public class AuthTokenWhitelistImpl
extends BaseAuthTokenWhitelist


Field Summary
 
Fields inherited from class com.liferay.portal.security.auth.BaseAuthTokenWhitelist
serviceRegistrations, serviceTrackers
 
Constructor Summary
AuthTokenWhitelistImpl()
           
 
Method Summary
 Set<String> getOriginCSRFWhitelist()
          Deprecated. As of 7.0.0
 Set<String> getPortletCSRFWhitelist()
          Deprecated. As of 7.0.0
 Set<String> getPortletInvocationWhitelist()
          Deprecated. 
 boolean isOriginCSRFWhitelisted(long companyId, String origin)
           
 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)
           
 boolean isValidSharedSecret(String sharedSecret)
           
 
Methods inherited from class com.liferay.portal.security.auth.BaseAuthTokenWhitelist
destroy, getPortletCSRFWhitelistActions, getPortletInvocationWhitelistActions, isPortletCSRFWhitelisted, isPortletInvocationWhitelisted, 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

AuthTokenWhitelistImpl

public AuthTokenWhitelistImpl()
Method Detail

getOriginCSRFWhitelist

@Deprecated
public Set<String> getOriginCSRFWhitelist()
Deprecated. As of 7.0.0

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

getPortletCSRFWhitelist

@Deprecated
public Set<String> getPortletCSRFWhitelist()
Deprecated. As of 7.0.0

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

getPortletInvocationWhitelist

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

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

isOriginCSRFWhitelisted

public boolean isOriginCSRFWhitelisted(long companyId,
                                       String origin)
Specified by:
isOriginCSRFWhitelisted in interface AuthTokenWhitelist
Overrides:
isOriginCSRFWhitelisted 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

isValidSharedSecret

public boolean isValidSharedSecret(String sharedSecret)
Specified by:
isValidSharedSecret in interface AuthTokenWhitelist
Overrides:
isValidSharedSecret in class BaseAuthTokenWhitelist

Liferay 7.0-ce-b4