public abstract class AbstractPortletRequestWhitelist extends Object implements PortletRequestWhitelist
Constructor and Description |
---|
AbstractPortletRequestWhitelist() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getPortletInvocationWhitelist() |
Set<String> |
getPortletInvocationWhitelistActions() |
abstract String[] |
getWhitelistActionsPropsValues() |
abstract String[] |
getWhitelistPropsValues() |
boolean |
isPortletInvocationWhitelisted(long companyId,
String portletId,
String strutsAction) |
protected boolean |
isValidStrutsAction(long companyId,
String portletId,
String strutsAction) |
Set<String> |
resetPortletInvocationWhitelist() |
Set<String> |
resetPortletInvocationWhitelistActions() |
public Set<String> getPortletInvocationWhitelist()
getPortletInvocationWhitelist
in interface PortletRequestWhitelist
public Set<String> getPortletInvocationWhitelistActions()
getPortletInvocationWhitelistActions
in interface PortletRequestWhitelist
public abstract String[] getWhitelistActionsPropsValues()
public abstract String[] getWhitelistPropsValues()
public boolean isPortletInvocationWhitelisted(long companyId, String portletId, String strutsAction)
isPortletInvocationWhitelisted
in interface PortletRequestWhitelist
public Set<String> resetPortletInvocationWhitelist()
resetPortletInvocationWhitelist
in interface PortletRequestWhitelist
public Set<String> resetPortletInvocationWhitelistActions()
resetPortletInvocationWhitelistActions
in interface PortletRequestWhitelist
protected boolean isValidStrutsAction(long companyId, String portletId, String strutsAction)