Default Properties and Substitution Variables for the CORS implementation

The default Properties and Substitution Variables for the CORS implementation.

Properties for the CORS implementation
Name Type Value
allowedOrigins string %%cors.allowedOrigins%%
allowedMethods string %%cors.allowedMethods%%
allowedHeaders string %%cors.allowedHeaders%%
preflightMaxAge int %%cors.preflightMaxAge%%
allowCredentials string %%cors.allowCredentials%%
filterContextRoot string %%cors.contextRoot%%
filterHttpConnector string %%httpConnector%%
filterPriority int 45
Substitution Variables for the CORS implementation
Name Type Description Resolved Value
cors.allowedOrigins String The origins allowed for cross origin requests
cors.allowedMethods String Http Methods allowed for cross domain request GET,POST,PUT,DELETE
cors.allowedHeaders String Http Headers allowed for cross domain requests content-type
cors.preflightMaxAge Integer Max age in milliseconds for cross domain requests 1800
cors.allowCredentials String Credentials allowed for cross domain requests true
cors.contextRoot String Context root on which CORS is enabled /bpm/*
httpConnector String The name of the http connector to use httpConnector