public class AuthTokenWhitelistUtil
extends Object
Constructor and Description |
---|
AuthTokenWhitelistUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isOriginCSRFWhitelisted(long companyId,
String origin) |
static boolean |
isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
static boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
static boolean |
isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL) |
static boolean |
isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL) |
static boolean |
isValidSharedSecret(String sharedSecret) |
public static boolean isOriginCSRFWhitelisted(long companyId, String origin)
public static boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
public static boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request, Portlet portlet)
public static boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
public static boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
public static boolean isValidSharedSecret(String sharedSecret)