Class CrossOriginEmbedderPolicyConfiguration


Specifies the configuration for Cross-Origin Embedder Policy to be used for CrossOriginEmbedderPolicyRequestCycleListener. Users can specify the paths that should be exempt from COEP and one of 3 modes (REPORTING, ENFORCING, DISABLED) for the policy. The config object lives in SecuritySettings, users can specify their COOP preferences with the following lines in their application's WebApplication.init() method:
 protected void init()
        // ...
                "EXEMPTED PATHS");
        // ...
The config value will be read once at startup in Application.initApplication(), changing the configuration at runtime will have no effect of the COOP headers set.
Santiago Diaz -, Ecenaz Jen Ozmen -
See Also: