Interface CspProviderExtension

All Superinterfaces:
PluginExtension

@API(type=EXTENDABLE, src=PUBLIC) public interface CspProviderExtension extends PluginExtension
Extension that can be used by plugins to contribute to the Content-Security-Policy header.
Since:
26.1.1

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.

  • Method Details

    • getAdditionalCspConfiguration

      Map<CspDirective,List<String>> getAdditionalCspConfiguration()
      Method used to provide the additional CSP configuration.
      Returns:
      A map from CspDirective to the values to be added to that directive.