Class OgnlAllowListConfigurator
- java.lang.Object
-
- com.atlassian.confluence.impl.struts.OgnlAllowListConfigurator
-
public class OgnlAllowListConfigurator extends Object
The purpose of this class it to maintain the list of allowed classes which can be used by plugins via struts framework.
-
-
Constructor Summary
Constructors Constructor Description OgnlAllowListConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearClassAllowListForPlugin(String moduleCompleteKey)
void
clearPackageAllowListForPlugin(String moduleCompleteKey)
boolean
isClassAllowed(Class<?> clazz)
void
registerClassAllowListForPlugin(com.atlassian.plugin.Plugin plugin, String completeKey, Set<String> ognlAllowlistClasses)
void
registerPackageAllowListForPlugin(String moduleCompleteKey, String symbolicName, Set<String> ognlAllowlistPackages)
-
-
-
Method Detail
-
registerClassAllowListForPlugin
public void registerClassAllowListForPlugin(com.atlassian.plugin.Plugin plugin, String completeKey, Set<String> ognlAllowlistClasses) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
registerPackageAllowListForPlugin
public void registerPackageAllowListForPlugin(String moduleCompleteKey, String symbolicName, Set<String> ognlAllowlistPackages)
-
clearClassAllowListForPlugin
public void clearClassAllowListForPlugin(String moduleCompleteKey)
-
clearPackageAllowListForPlugin
public void clearPackageAllowListForPlugin(String moduleCompleteKey)
-
isClassAllowed
public boolean isClassAllowed(Class<?> clazz)
-
-