public abstract class BaseAuthTokenWhitelist extends Object implements AuthTokenWhitelist
| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.registry.collections.StringServiceRegistrationMap<Object> |
serviceRegistrations |
protected List<com.liferay.registry.ServiceTracker<Object,Object>> |
serviceTrackers |
| Constructor and Description |
|---|
BaseAuthTokenWhitelist() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
destroy() |
Set<String> |
getOriginCSRFWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
getPortletCSRFWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
getPortletCSRFWhitelistActions()
Deprecated.
As of 7.0.0
|
Set<String> |
getPortletInvocationWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
getPortletInvocationWhitelistActions()
Deprecated.
As of 7.0.0
|
boolean |
isOriginCSRFWhitelisted(long companyId,
String origin) |
boolean |
isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
boolean |
isPortletCSRFWhitelisted(long companyId,
String portletId,
String strutsAction)
Deprecated.
As of 7.0.0
|
boolean |
isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet) |
boolean |
isPortletInvocationWhitelisted(long companyId,
String portletId,
String strutsAction)
Deprecated.
As of 7.0.0
|
boolean |
isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL) |
boolean |
isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL) |
boolean |
isValidSharedSecret(String sharedSecret) |
protected void |
registerPortalProperty(String key) |
Set<String> |
resetOriginCSRFWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
resetPortletCSRFWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
resetPortletInvocationWhitelist()
Deprecated.
As of 7.0.0
|
Set<String> |
resetPortletInvocationWhitelistActions()
Deprecated.
As of 7.0.0
|
protected com.liferay.registry.ServiceTracker<Object,Object> |
trackWhitelistServices(String whitelistName,
Set<String> whiteList) |
protected final com.liferay.registry.collections.StringServiceRegistrationMap<Object> serviceRegistrations
@Deprecated public Set<String> getOriginCSRFWhitelist()
getOriginCSRFWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> getPortletCSRFWhitelist()
getPortletCSRFWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> getPortletCSRFWhitelistActions()
getPortletCSRFWhitelistActions in interface AuthTokenWhitelist@Deprecated public Set<String> getPortletInvocationWhitelist()
getPortletInvocationWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> getPortletInvocationWhitelistActions()
getPortletInvocationWhitelistActions in interface AuthTokenWhitelistpublic boolean isOriginCSRFWhitelisted(long companyId,
String origin)
isOriginCSRFWhitelisted in interface AuthTokenWhitelistpublic boolean isPortletCSRFWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
isPortletCSRFWhitelisted in interface AuthTokenWhitelist@Deprecated public boolean isPortletCSRFWhitelisted(long companyId, String portletId, String strutsAction)
isPortletCSRFWhitelisted in interface AuthTokenWhitelistpublic boolean isPortletInvocationWhitelisted(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
isPortletInvocationWhitelisted in interface AuthTokenWhitelist@Deprecated public boolean isPortletInvocationWhitelisted(long companyId, String portletId, String strutsAction)
isPortletInvocationWhitelisted in interface AuthTokenWhitelistpublic boolean isPortletURLCSRFWhitelisted(LiferayPortletURL liferayPortletURL)
isPortletURLCSRFWhitelisted in interface AuthTokenWhitelistpublic boolean isPortletURLPortletInvocationWhitelisted(LiferayPortletURL liferayPortletURL)
isPortletURLPortletInvocationWhitelisted in interface AuthTokenWhitelistpublic boolean isValidSharedSecret(String sharedSecret)
isValidSharedSecret in interface AuthTokenWhitelist@Deprecated public Set<String> resetOriginCSRFWhitelist()
resetOriginCSRFWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> resetPortletCSRFWhitelist()
resetPortletCSRFWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> resetPortletInvocationWhitelist()
resetPortletInvocationWhitelist in interface AuthTokenWhitelist@Deprecated public Set<String> resetPortletInvocationWhitelistActions()
resetPortletInvocationWhitelistActions in interface AuthTokenWhitelistprotected void destroy()
protected void registerPortalProperty(String key)