X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=120a826b32a863b850ee634b563b6bcffe0bc017;hb=348cb4e7ba4e18e4aaf726d6492642aa3cc7c86b;hp=60c3378471f6b0989967c707462c132d7418218f;hpb=36f7cda0765248e257702addbff6f50da7ab0dd6;p=controller.git
diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml b/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
index 60c3378471..120a826b32 100644
--- a/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
@@ -23,6 +23,27 @@
/*
+
+ cross-origin-restconf
+ org.eclipse.jetty.servlets.CrossOriginFilter
+
+ allowedOrigins
+ *
+
+
+ allowedMethods
+ GET,POST,OPTIONS,DELETE,PUT,HEAD
+
+
+ allowedHeaders
+ origin, content-type, accept, authorization
+
+
+
+ cross-origin-restconf
+ /*
+
+
NB api