X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fcontainermanager%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=5f74a4419dcb6473fbb73f5a329e7604bafbed62;hb=c7551f594c34504fffa0055d3360132577938b38;hp=6ace7ecaed021040e3dba084a0ec97a033544b72;hpb=51e9be2b3aac6ea33bf21e5a3a978325d24e9e0e;p=controller.git diff --git a/opendaylight/northbound/containermanager/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/containermanager/src/main/resources/WEB-INF/web.xml index 6ace7ecaed..5f74a4419d 100644 --- a/opendaylight/northbound/containermanager/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/containermanager/src/main/resources/WEB-INF/web.xml @@ -16,10 +16,49 @@ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" JAXRSContainerManager /* + + CorsFilter + org.apache.catalina.filters.CorsFilter + + cors.allowed.origins + * + + + cors.allowed.methods + GET,POST,HEAD,OPTIONS,PUT,DELETE + + + cors.allowed.headers + Content-Type,X-Requested-With,accept,authorization, origin,Origin,Access-Control-Request-Method,Access-Control-Request-Headers + + + cors.exposed.headers + Access-Control-Allow-Origin,Access-Control-Allow-Credentials + + + cors.support.credentials + true + + + cors.preflight.maxage + 10 + + + + CorsFilter + /* + + NB api /* + POST + GET + PUT + PATCH + DELETE + HEAD System-Admin