Class ProviderAllowlist

java.lang.Object
org.apache.struts2.ognl.ProviderAllowlist

public class ProviderAllowlist extends Object
Allows registration of classes that should be allowed to be used in OGNL expressions, using a key to identify the source of the allowlist.
Since:
6.4.0
  • Constructor Details

    • ProviderAllowlist

      public ProviderAllowlist()
  • Method Details

    • registerAllowlist

      public void registerAllowlist(Object key, Set<Class<?>> allowlist)
    • clearAllowlist

      public void clearAllowlist(Object key)
    • getProviderAllowlist

      public Set<Class<?>> getProviderAllowlist()