X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsamples%2Fnorthbound%2Floadbalancer%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=ae2fce582ae34b9fc49c5a4c32381f1d83dfa25f;hp=5011e748df23c59d3dbc5228534d91c6a9be90f9;hb=7644009997b956efd74cbf8166352a7988e64ab0;hpb=bf9ead90c2584be7c6bafff0a49aec3db62f54da diff --git a/opendaylight/samples/northbound/loadbalancer/src/main/resources/WEB-INF/web.xml b/opendaylight/samples/northbound/loadbalancer/src/main/resources/WEB-INF/web.xml index 5011e748df..ae2fce582a 100644 --- a/opendaylight/samples/northbound/loadbalancer/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/samples/northbound/loadbalancer/src/main/resources/WEB-INF/web.xml @@ -1,14 +1,13 @@ - + JAXRSLoadBalancer - com.sun.jersey.spi.spring.container.servlet.SpringServlet + com.sun.jersey.spi.container.servlet.ServletContainer javax.ws.rs.Application - org.opendaylight.controller.samples.loadbalancer.northbound.LoadBalancerNorthboundRSApplication + 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 +