public class AuthTokenWhitelistUtil
extends java.lang.Object
| Constructor and Description |
|---|
AuthTokenWhitelistUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AuthTokenWhitelist |
getAuthTokenWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
getPortletCSRFWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
getPortletCSRFWhitelistActions()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
getPortletInvocationWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
getPortletInvocationWhitelistActions()
Deprecated.
As of 7.0.0, with no direct replacement
|
static boolean |
isCSRFOrigintWhitelisted(long companyId,
java.lang.String origin)
Deprecated.
As of 7.0.0, replaced by
isOriginCSRFWhitelisted(long, String) |
static boolean |
isOriginCSRFWhitelisted(long companyId,
java.lang.String origin) |
static boolean |
isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
static boolean |
isPortletCSRFWhitelisted(long companyId,
java.lang.String portletId,
java.lang.String strutsAction)
Deprecated.
As of 7.0.0, replaced by
isPortletCSRFWhitelisted(HttpServletRequest, Portlet) |
static boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
static boolean |
isPortletInvocationWhitelisted(long companyId,
java.lang.String portletId,
java.lang.String strutsAction)
Deprecated.
As of 7.0.0, replaced by
isPortletInvocationWhitelisted(HttpServletRequest, Portlet) |
static boolean |
isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL) |
static boolean |
isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL) |
static boolean |
isValidSharedSecret(java.lang.String sharedSecret) |
static java.util.Set<java.lang.String> |
resetOriginCSRFWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
resetPortletCSRFWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
resetPortletInvocationWhitelist()
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.util.Set<java.lang.String> |
resetPortletInvocationWhitelistActions()
Deprecated.
As of 7.0.0, with no direct replacement
|
void |
setAuthTokenWhitelist(AuthTokenWhitelist authTokenWhitelist)
Deprecated.
As of 7.0.0, replaced with no direct replacement
|
@Deprecated public static AuthTokenWhitelist getAuthTokenWhitelist()
@Deprecated public static java.util.Set<java.lang.String> getPortletCSRFWhitelist()
@Deprecated public static java.util.Set<java.lang.String> getPortletCSRFWhitelistActions()
@Deprecated public static java.util.Set<java.lang.String> getPortletInvocationWhitelist()
@Deprecated public static java.util.Set<java.lang.String> getPortletInvocationWhitelistActions()
@Deprecated
public static boolean isCSRFOrigintWhitelisted(long companyId,
java.lang.String origin)
isOriginCSRFWhitelisted(long, String)public static boolean isOriginCSRFWhitelisted(long companyId,
java.lang.String origin)
public static boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
@Deprecated
public static boolean isPortletCSRFWhitelisted(long companyId,
java.lang.String portletId,
java.lang.String strutsAction)
isPortletCSRFWhitelisted(HttpServletRequest, Portlet)public static boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
@Deprecated
public static boolean isPortletInvocationWhitelisted(long companyId,
java.lang.String portletId,
java.lang.String strutsAction)
isPortletInvocationWhitelisted(HttpServletRequest, Portlet)public static boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
public static boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
public static boolean isValidSharedSecret(java.lang.String sharedSecret)
@Deprecated public static java.util.Set<java.lang.String> resetOriginCSRFWhitelist()
@Deprecated public static java.util.Set<java.lang.String> resetPortletCSRFWhitelist()
@Deprecated public static java.util.Set<java.lang.String> resetPortletInvocationWhitelist()
@Deprecated public static java.util.Set<java.lang.String> resetPortletInvocationWhitelistActions()
@Deprecated public void setAuthTokenWhitelist(AuthTokenWhitelist authTokenWhitelist)