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 httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
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.AuthTokenWhitelistisOriginCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet)
isPortletCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet)
isPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletURLCSRFWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletURLCSRFWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isPortletURLPortletInvocationWhitelisted(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisPortletURLPortletInvocationWhitelisted in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelistpublic boolean isValidSharedSecret(String sharedSecret)
isValidSharedSecret in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelistisValidSharedSecret in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist