Liferay 7.0-ce-b4

com.liferay.portal.security.auth
Class BaseAuthTokenWhitelist

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

public abstract class BaseAuthTokenWhitelist
extends Object
implements AuthTokenWhitelist


Field Summary
protected  com.liferay.registry.collections.StringServiceRegistrationMap<Object> serviceRegistrations
           
protected  List<com.liferay.registry.ServiceTracker<Object,Object>> serviceTrackers
           
 
Constructor Summary
BaseAuthTokenWhitelist()
           
 
Method Summary
protected  void destroy()
           
 Set<String> getOriginCSRFWhitelist()
          Deprecated. 
 Set<String> getPortletCSRFWhitelist()
          Deprecated. 
 Set<String> getPortletCSRFWhitelistActions()
          Deprecated. 
 Set<String> getPortletInvocationWhitelist()
          Deprecated. 
 Set<String> getPortletInvocationWhitelistActions()
          Deprecated. 
 boolean isOriginCSRFWhitelisted(long companyId, String origin)
           
 boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 boolean isPortletCSRFWhitelisted(long companyId, String portletId, String strutsAction)
          Deprecated. 
 boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
           
 boolean isPortletInvocationWhitelisted(long companyId, String portletId, String strutsAction)
          Deprecated. 
 boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
           
 boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
           
 boolean isValidSharedSecret(String sharedSecret)
           
protected  void registerPortalProperty(String key)
           
 Set<String> resetOriginCSRFWhitelist()
          Deprecated. 
 Set<String> resetPortletCSRFWhitelist()
          Deprecated. 
 Set<String> resetPortletInvocationWhitelist()
          Deprecated. 
 Set<String> resetPortletInvocationWhitelistActions()
          Deprecated. 
protected  com.liferay.registry.ServiceTracker<Object,Object> trackWhitelistServices(String whitelistName, Set<String> whiteList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceRegistrations

protected final com.liferay.registry.collections.StringServiceRegistrationMap<Object> serviceRegistrations

serviceTrackers

protected final List<com.liferay.registry.ServiceTracker<Object,Object>> serviceTrackers
Constructor Detail

BaseAuthTokenWhitelist

public BaseAuthTokenWhitelist()
Method Detail

getOriginCSRFWhitelist

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

Specified by:
getOriginCSRFWhitelist in interface AuthTokenWhitelist

getPortletCSRFWhitelist

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

Specified by:
getPortletCSRFWhitelist in interface AuthTokenWhitelist

getPortletCSRFWhitelistActions

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

Specified by:
getPortletCSRFWhitelistActions in interface AuthTokenWhitelist

getPortletInvocationWhitelist

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

Specified by:
getPortletInvocationWhitelist in interface AuthTokenWhitelist

getPortletInvocationWhitelistActions

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

Specified by:
getPortletInvocationWhitelistActions in interface AuthTokenWhitelist

isOriginCSRFWhitelisted

public boolean isOriginCSRFWhitelisted(long companyId,
                                       String origin)
Specified by:
isOriginCSRFWhitelisted in interface AuthTokenWhitelist

isPortletCSRFWhitelisted

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

isPortletCSRFWhitelisted

@Deprecated
public boolean isPortletCSRFWhitelisted(long companyId,
                                                   String portletId,
                                                   String strutsAction)
Deprecated. 

Specified by:
isPortletCSRFWhitelisted in interface AuthTokenWhitelist

isPortletInvocationWhitelisted

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

isPortletInvocationWhitelisted

@Deprecated
public boolean isPortletInvocationWhitelisted(long companyId,
                                                         String portletId,
                                                         String strutsAction)
Deprecated. 

Specified by:
isPortletInvocationWhitelisted in interface AuthTokenWhitelist

isPortletURLCSRFWhitelisted

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

isPortletURLPortletInvocationWhitelisted

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

isValidSharedSecret

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

resetOriginCSRFWhitelist

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

Specified by:
resetOriginCSRFWhitelist in interface AuthTokenWhitelist

resetPortletCSRFWhitelist

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

Specified by:
resetPortletCSRFWhitelist in interface AuthTokenWhitelist

resetPortletInvocationWhitelist

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

Specified by:
resetPortletInvocationWhitelist in interface AuthTokenWhitelist

resetPortletInvocationWhitelistActions

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

Specified by:
resetPortletInvocationWhitelistActions in interface AuthTokenWhitelist

destroy

protected void destroy()

registerPortalProperty

protected void registerPortalProperty(String key)

trackWhitelistServices

protected com.liferay.registry.ServiceTracker<Object,Object> trackWhitelistServices(String whitelistName,
                                                                                    Set<String> whiteList)

Liferay 7.0-ce-b4