X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fnorthbound%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;fp=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fnorthbound%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=08a314a42e2bb9c6daac6412a201b780497a993d;hp=dccd1332c9534edb76c9bda153e7c252b140fd93;hb=8de43fbe42af2b016695d14b281f6bbe5addd4e1;hpb=166c432bc0611288abf2e13ef8f184cfbb2c101a diff --git a/opendaylight/networkconfiguration/neutron/northbound/src/main/resources/WEB-INF/web.xml b/opendaylight/networkconfiguration/neutron/northbound/src/main/resources/WEB-INF/web.xml index dccd1332c9..08a314a42e 100644 --- a/opendaylight/networkconfiguration/neutron/northbound/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/networkconfiguration/neutron/northbound/src/main/resources/WEB-INF/web.xml @@ -9,6 +9,11 @@ javax.ws.rs.Application org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication + + + com.sun.jersey.spi.container.ContainerRequestFilters + org.opendaylight.aaa.sts.TokenAuthFilter + 1 @@ -16,34 +21,37 @@ JAXRSNeutron /* - - - NB api - /* - - - System-Admin - Network-Admin - Network-Operator - Container-User - - - - - System-Admin - - - Network-Admin - - - Network-Operator - - - Container-User - - - BASIC - opendaylight - + + 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 + /* + POST + GET + PUT + PATCH + DELETE + HEAD + +