X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fhosttracker%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=d4ace8d89d8fb4fb0372e12ae5023702c0ed2835;hp=bfa9fc77c779ec98a227f5a85b849d069a0620e1;hb=feeeee8105b8f8262154d6c7d994fdbdb7eda1e2;hpb=29f7cfb54b580928c7feac63abce028a7014b0d5 diff --git a/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml index bfa9fc77c7..d4ace8d89d 100644 --- a/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml @@ -1,14 +1,13 @@ - + JAXRSHostTracker - com.sun.jersey.spi.spring.container.servlet.SpringServlet + com.sun.jersey.spi.container.servlet.ServletContainer javax.ws.rs.Application - org.opendaylight.controller.hosttracker.northbound.HostTrackerNorthboundRSApplication + org.opendaylight.controller.northbound.commons.NorthboundApplication 1 @@ -18,26 +17,73 @@ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" /* - + + 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 + /* + - - org.springframework.web.context.ContextLoaderListener - + + + NB api + /* + POST + GET + PUT + PATCH + DELETE + HEAD + + + System-Admin + Network-Admin + Network-Operator + Container-User + + - - contextConfigLocation - /WEB-INF/spring/*.xml - + + System-Admin + + + Network-Admin + + + Network-Operator + + + Container-User + - - springSecurityFilterChain - - org.springframework.web.filter.DelegatingFilterProxy - - - - - springSecurityFilterChain - /* - + + BASIC + opendaylight + \ No newline at end of file