X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstatistics%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=db0460ba56db2c4b2541cbecaa94d45df3fe4158;hb=2b4b6a40486a469d72f9421617a945fdca7fdf17;hp=f152aa75a2b1af7321ccf33d9776563750e82967;hpb=15c27b1364f7538b39fe95ffdacf822e22c06e11;p=controller.git
diff --git a/opendaylight/northbound/statistics/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/statistics/src/main/resources/WEB-INF/web.xml
index f152aa75a2..db0460ba56 100644
--- a/opendaylight/northbound/statistics/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/northbound/statistics/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
+ /*
+
+
-
- NB 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
+