Liferay 6.2-ce-ga5

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> getOriginCSRFWhitelist()
           
 Set<String> getPortletCSRFWhitelist()
           
 Set<String> getPortletCSRFWhitelistActions()
           
 Set<String> getPortletInvocationWhitelist()
           
 Set<String> getPortletInvocationWhitelistActions()
           
 boolean isOriginCSRFWhitelisted(long companyId, String origin)
           
 boolean isPortletCSRFWhitelisted(long companyId, String portletId, String strutsAction)
           
 boolean isPortletInvocationWhitelisted(long companyId, String portletId, String strutsAction)
           
 boolean isValidSharedSecret(String sharedSecret)
           
protected  boolean isValidStrutsAction(long companyId, String portletId, String strutsAction)
           
 Set<String> resetOriginCSRFWhitelist()
           
 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

getOriginCSRFWhitelist

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

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

isOriginCSRFWhitelisted

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

isValidSharedSecret

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

resetOriginCSRFWhitelist

public Set<String> resetOriginCSRFWhitelist()
Specified by:
resetOriginCSRFWhitelist 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-ce-ga5