Class OgnlAllowListConfigurator
java.lang.Object
com.atlassian.confluence.impl.struts.OgnlAllowListConfigurator
Manages the plugin designated allowlist configuration for Struts OGNL expressions.
- Since:
- 8.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearClassAllowListForPlugin
(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey) void
clearPackageAllowListForPlugin
(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey) boolean
isClassAllowed
(Class<?> clazz) void
registerClassAllowListForPlugin
(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, Set<String> ognlAllowlistClasses) void
registerPackageAllowListForPlugin
(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, String symbolicName, Set<String> ognlAllowlistPackages)
-
Constructor Details
-
OgnlAllowListConfigurator
public OgnlAllowListConfigurator()
-
-
Method Details
-
registerClassAllowListForPlugin
public void registerClassAllowListForPlugin(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, Set<String> ognlAllowlistClasses) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
registerPackageAllowListForPlugin
-
clearClassAllowListForPlugin
public void clearClassAllowListForPlugin(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey) -
clearPackageAllowListForPlugin
public void clearPackageAllowListForPlugin(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey) -
isClassAllowed
-