public class AuthTokenWhitelistImpl
extends com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
Constructor and Description |
---|
AuthTokenWhitelistImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isOriginCSRFWhitelisted(long companyId,
String origin) |
boolean |
isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) |
boolean |
isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) |
boolean |
isValidSharedSecret(String sharedSecret) |
public boolean isOriginCSRFWhitelisted(long companyId, String origin)
isOriginCSRFWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isOriginCSRFWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet)
isPortletCSRFWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletCSRFWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet)
isPortletInvocationWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletInvocationWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletURLCSRFWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isPortletURLPortletInvocationWhitelisted
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
public boolean isValidSharedSecret(String sharedSecret)
isValidSharedSecret
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
isValidSharedSecret
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist