com.liferay.portal.security.auth
Class AuthTokenWhitelistImpl
java.lang.Object
com.liferay.portal.security.auth.AuthTokenWhitelistImpl
- All Implemented Interfaces:
- AuthTokenWhitelist
public class AuthTokenWhitelistImpl
- extends Object
- implements AuthTokenWhitelist
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthTokenWhitelistImpl
public AuthTokenWhitelistImpl()
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)