public class AuthTokenWhitelistImpl
extends com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
Constructor and Description |
---|
AuthTokenWhitelistImpl() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getOriginCSRFWhitelist()
Deprecated.
As of Wilberforce (7.0.x)
|
Set<String> |
getPortletCSRFWhitelist()
Deprecated.
As of Wilberforce (7.0.x)
|
Set<String> |
getPortletInvocationWhitelist()
Deprecated.
As of Wilberforce (7.0.x)
|
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) |
destroy, getPortletCSRFWhitelistActions, getPortletInvocationWhitelistActions, isPortletCSRFWhitelisted, isPortletInvocationWhitelisted, registerPortalProperty, resetOriginCSRFWhitelist, resetPortletCSRFWhitelist, resetPortletInvocationWhitelist, resetPortletInvocationWhitelistActions, trackWhitelistServices
@Deprecated public Set<String> getOriginCSRFWhitelist()
getOriginCSRFWhitelist
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
getOriginCSRFWhitelist
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
@Deprecated public Set<String> getPortletCSRFWhitelist()
getPortletCSRFWhitelist
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
getPortletCSRFWhitelist
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
@Deprecated public Set<String> getPortletInvocationWhitelist()
getPortletInvocationWhitelist
in interface com.liferay.portal.kernel.security.auth.AuthTokenWhitelist
getPortletInvocationWhitelist
in class com.liferay.portal.kernel.security.auth.BaseAuthTokenWhitelist
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