X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fnetworkconfiguration%2Fbridgedomain%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=f4de222acc0f33140565c98dec2420ff2f11c9a4;hb=2b4b6a40486a469d72f9421617a945fdca7fdf17;hp=b7f35c3f96d97bfa142bd163f94aaa9781b6b8d9;hpb=15c27b1364f7538b39fe95ffdacf822e22c06e11;p=controller.git
diff --git a/opendaylight/northbound/networkconfiguration/bridgedomain/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/networkconfiguration/bridgedomain/src/main/resources/WEB-INF/web.xml
index b7f35c3f96..f4de222acc 100644
--- a/opendaylight/northbound/networkconfiguration/bridgedomain/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/northbound/networkconfiguration/bridgedomain/src/main/resources/WEB-INF/web.xml
@@ -17,17 +17,56 @@
/*
+
+ CorsFilter
+ org.apache.catalina.filters.CorsFilter
+
+ cors.allowed.origins
+ *
+
+
+ cors.allowed.methods
+ GET,POST,HEAD,OPTIONS,PUT
+
+
+ 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
+ /*
+
+
-
- BridgeDomain Configuration NorthBound API
- /*
-
-
- System-Admin
- Network-Admin
- Network-Operator
- Container-User
-
+
+ NB api
+ /*
+ POST
+ GET
+ PUT
+ PATCH
+ DELETE
+ HEAD
+
+
+ System-Admin
+ Network-Admin
+ Network-Operator
+ Container-User
+