Class OgnlAllowListConfigurator

java.lang.Object
com.atlassian.confluence.impl.struts.OgnlAllowListConfigurator

public class OgnlAllowListConfigurator extends Object
Manages the plugin designated allowlist configuration for Struts OGNL expressions.
Since:
8.8.0
  • 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

      public void registerPackageAllowListForPlugin(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, String symbolicName, Set<String> ognlAllowlistPackages)
    • clearClassAllowListForPlugin

      public void clearClassAllowListForPlugin(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
    • clearPackageAllowListForPlugin

      public void clearPackageAllowListForPlugin(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
    • isClassAllowed

      public boolean isClassAllowed(Class<?> clazz)