Class 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 Detail

      • OgnlAllowListConfigurator

        public OgnlAllowListConfigurator()
    • Method Detail

      • 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)