org.apache.struts2.ognl

## Class ProviderAllowlist

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

-     public class ProviderAllowlist
      extends Object

  Allows `ConfigurationProvider`s to register classes that should be allowed to be used in OGNL expressions.
  Since:
    6.4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProviderAllowlist()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clearAllowlist(ConfigurationProvider configurationProvider)`
    `Set<Class<?>>` | `getProviderAllowlist()`
    `void` | `registerAllowlist(ConfigurationProvider configurationProvider, Set<Class<?>> allowlist)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProviderAllowlist

          public ProviderAllowlist()

  - ### Method Detail

    - #### registerAllowlist

          public void registerAllowlist(ConfigurationProvider configurationProvider,
                                        Set<Class<?>> allowlist)

    - #### clearAllowlist

          public void clearAllowlist(ConfigurationProvider configurationProvider)

    - #### getProviderAllowlist

          public Set<Class<?>> getProviderAllowlist()

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.