summaryrefslogtreecommitdiff
path: root/etc/api-paste.ini
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2016-03-01 12:21:33 -0800
committerMichael Krotscheck <krotscheck@gmail.com>2016-03-01 12:21:33 -0800
commitaae181817e5f463a959b08477e9c2c8d94eadc25 (patch)
treead32dbd9359e2d7c48be8b6185c8f1ce18048057 /etc/api-paste.ini
parentb380b15d4cbf3f961b828c39abac4dbc2e3499ec (diff)
downloadneutron-aae181817e5f463a959b08477e9c2c8d94eadc25.tar.gz
Moved CORS middleware configuration into oslo-config-generator
The default values needed for neutron's implementation of cors middleware have been moved from paste.ini into the configuration hooks provided by oslo.config. Furthermore, these values have been added to neutron's default configuration parsing. This ensures that if a value remains unset in neutron.conf, it will be set to use sane defaults, and that an operator modifying the configuration file will be presented with a default set of necessary sane headers. Change-Id: I327d1d7ce50dd4a20d781e6251a5af81c57e6ca1 Closes-Bug: 1551836
Diffstat (limited to 'etc/api-paste.ini')
-rw-r--r--etc/api-paste.ini3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/api-paste.ini b/etc/api-paste.ini
index 4884fe382c..5902651634 100644
--- a/etc/api-paste.ini
+++ b/etc/api-paste.ini
@@ -17,9 +17,6 @@ paste.filter_factory = oslo_middleware:CatchErrors.factory
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = neutron
-latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID
-latent_expose_headers = X-Auth-Token, X-Subject-Token, X-Service-Token, X-OpenStack-Request-ID
-latent_allow_methods = GET, PUT, POST, DELETE, PATCH
[filter:keystonecontext]
paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory