X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=third-party%2Forg.apache.catalina.filters.CorsFilter%2FREADME;fp=third-party%2Forg.apache.catalina.filters.CorsFilter%2FREADME;h=e2d22abe1a023ef760678c64325104e4a943feec;hb=2b4b6a40486a469d72f9421617a945fdca7fdf17;hp=0000000000000000000000000000000000000000;hpb=15c27b1364f7538b39fe95ffdacf822e22c06e11;p=controller.git diff --git a/third-party/org.apache.catalina.filters.CorsFilter/README b/third-party/org.apache.catalina.filters.CorsFilter/README new file mode 100644 index 0000000000..e2d22abe1a --- /dev/null +++ b/third-party/org.apache.catalina.filters.CorsFilter/README @@ -0,0 +1,12 @@ +See: http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter +And: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing +This is done to allow a web page using javascript to be able to make calls +to our REST APIs even though it does not originate in our domain. + +This bundle just rolls up org.apache.catalina.filters.CorsFilter and adds it as a +fragment to the org.apache.catalina bundle. + +The reason this is necessary is because the CorsFilter class was originally added +at Tomcat 7.0.42, and we are using 7.0.32. As the CorsFilter class is a simple one, +with very few dependencies, this seemed the best way to bring it in. +