Class AuthTokenWhitelistUtil
Object
com.liferay.portal.kernel.security.auth.AuthTokenWhitelistUtil
- Author:
- Tomas Polesovsky, Raymond Augé
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisOriginCSRFWhitelisted(long companyId, String origin) static booleanisPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) static booleanisPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) static booleanisPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL) static booleanisPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL) static booleanisValidSharedSecret(String sharedSecret)
-
Constructor Details
-
AuthTokenWhitelistUtil
public AuthTokenWhitelistUtil()
-
-
Method Details
-
isOriginCSRFWhitelisted
-
isPortletCSRFWhitelisted
public static boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) -
isPortletInvocationWhitelisted
public static boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) -
isPortletURLCSRFWhitelisted
-
isPortletURLPortletInvocationWhitelisted
-