Class AuthTokenWhitelistUtil
Object
com.liferay.portal.kernel.security.auth.AuthTokenWhitelistUtil
- Author:
- Tomas Polesovsky, Raymond Augé
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isOriginCSRFWhitelisted
(long companyId, String origin) static boolean
isPortletCSRFWhitelisted
(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) static boolean
isPortletInvocationWhitelisted
(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) static boolean
isPortletURLCSRFWhitelisted
(LiferayPortletURL liferayPortletURL) static boolean
isPortletURLPortletInvocationWhitelisted
(LiferayPortletURL liferayPortletURL) static boolean
isValidSharedSecret
(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
-