Liferay 6.2.0-ce-rc3

com.liferay.portal.security.auth
Class AuthTokenWhitelistImpl

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

public class AuthTokenWhitelistImpl
extends Object
implements AuthTokenWhitelist


Constructor Summary
AuthTokenWhitelistImpl()
           
 
Method Summary
 Set<String> getPortletCSRFWhitelist()
           
 Set<String> getPortletCSRFWhitelistActions()
           
 Set<String> getPortletInvocationWhitelist()
           
 Set<String> getPortletInvocationWhitelistActions()
           
 boolean isPortletCSRFWhitelisted(long companyId, String portletId, String strutsAction)
           
 boolean isPortletInvocationWhitelisted(long companyId, String portletId, String strutsAction)
           
protected  boolean isValidStrutsAction(long companyId, String portletId, String strutsAction)
           
 Set<String> resetPortletCSRFWhitelist()
           
 Set<String> resetPortletCSRFWhitelistActions()
           
 Set<String> resetPortletInvocationWhitelist()
           
 Set<String> resetPortletInvocationWhitelistActions()
           
 
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

getPortletCSRFWhitelist

public Set<String> getPortletCSRFWhitelist()
Specified by:
getPortletCSRFWhitelist in interface AuthTokenWhitelist

getPortletCSRFWhitelistActions

public Set<String> getPortletCSRFWhitelistActions()
Specified by:
getPortletCSRFWhitelistActions in interface AuthTokenWhitelist

getPortletInvocationWhitelist

public Set<String> getPortletInvocationWhitelist()
Specified by:
getPortletInvocationWhitelist in interface AuthTokenWhitelist

getPortletInvocationWhitelistActions

public Set<String> getPortletInvocationWhitelistActions()
Specified by:
getPortletInvocationWhitelistActions in interface AuthTokenWhitelist

isPortletCSRFWhitelisted

public boolean isPortletCSRFWhitelisted(long companyId,
                                        String portletId,
                                        String strutsAction)
Specified by:
isPortletCSRFWhitelisted in interface AuthTokenWhitelist

isPortletInvocationWhitelisted

public boolean isPortletInvocationWhitelisted(long companyId,
                                              String portletId,
                                              String strutsAction)
Specified by:
isPortletInvocationWhitelisted in interface AuthTokenWhitelist

resetPortletCSRFWhitelist

public Set<String> resetPortletCSRFWhitelist()
Specified by:
resetPortletCSRFWhitelist in interface AuthTokenWhitelist

resetPortletCSRFWhitelistActions

public Set<String> resetPortletCSRFWhitelistActions()
Specified by:
resetPortletCSRFWhitelistActions in interface AuthTokenWhitelist

resetPortletInvocationWhitelist

public Set<String> resetPortletInvocationWhitelist()
Specified by:
resetPortletInvocationWhitelist in interface AuthTokenWhitelist

resetPortletInvocationWhitelistActions

public Set<String> resetPortletInvocationWhitelistActions()
Specified by:
resetPortletInvocationWhitelistActions in interface AuthTokenWhitelist

isValidStrutsAction

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

Liferay 6.2.0-ce-rc3