[b3b099f] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> |
---|
| 3 | <display-name>Murachi</display-name> |
---|
| 4 | <welcome-file-list> |
---|
| 5 | <welcome-file>index.html</welcome-file> |
---|
| 6 | <welcome-file>index.htm</welcome-file> |
---|
| 7 | <welcome-file>index.jsp</welcome-file> |
---|
| 8 | <welcome-file>default.html</welcome-file> |
---|
| 9 | <welcome-file>default.htm</welcome-file> |
---|
| 10 | <welcome-file>default.jsp</welcome-file> |
---|
| 11 | </welcome-file-list> |
---|
| 12 | <servlet> |
---|
[4ac0cf4] | 13 | <servlet-name>Murachi</servlet-name> |
---|
[b3b099f] | 14 | <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> |
---|
| 15 | <init-param> |
---|
| 16 | <param-name>jersey.config.server.provider.packages</param-name> |
---|
| 17 | <param-value>ve.gob.cenditel.murachi</param-value> |
---|
| 18 | </init-param> |
---|
| 19 | <init-param> |
---|
| 20 | <param-name>jersey.config.server.provider.classnames</param-name> |
---|
| 21 | <param-value>org.glassfish.jersey.media.multipart.MultiPartFeature</param-value> |
---|
| 22 | </init-param> |
---|
| 23 | |
---|
| 24 | <init-param> |
---|
| 25 | <param-name>jersey.config.server.provider.packages</param-name> |
---|
| 26 | <param-value>ve.gob.cenditel.murachi;com.fasterxml.jackson.jaxrs</param-value> |
---|
| 27 | </init-param> |
---|
| 28 | |
---|
| 29 | <load-on-startup>1</load-on-startup> |
---|
| 30 | </servlet> |
---|
| 31 | <servlet-mapping> |
---|
[4ac0cf4] | 32 | <servlet-name>Murachi</servlet-name> |
---|
[8e7e007] | 33 | <!-- <url-pattern>/murachi/*</url-pattern> --> |
---|
| 34 | <url-pattern>/0.1/*</url-pattern> |
---|
[b3b099f] | 35 | </servlet-mapping> |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | <filter> |
---|
| 39 | <filter-name>CORS</filter-name> |
---|
| 40 | <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class> |
---|
| 41 | |
---|
| 42 | <init-param> |
---|
| 43 | <param-name>cors.allowOrigin</param-name> |
---|
| 44 | <param-value>*</param-value> |
---|
| 45 | </init-param> |
---|
| 46 | <init-param> |
---|
| 47 | <param-name>cors.supportsCredentials</param-name> |
---|
| 48 | <param-value>false</param-value> |
---|
| 49 | </init-param> |
---|
| 50 | <init-param> |
---|
| 51 | <param-name>cors.supportedHeaders</param-name> |
---|
| 52 | <param-value>accept, authorization, origin</param-value> |
---|
| 53 | </init-param> |
---|
| 54 | <init-param> |
---|
| 55 | <param-name>cors.supportedMethods</param-name> |
---|
| 56 | <param-value>GET, POST, HEAD, OPTIONS</param-value> |
---|
| 57 | </init-param> |
---|
| 58 | </filter> |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | <filter-mapping> |
---|
| 62 | <filter-name>CORS</filter-name> |
---|
| 63 | <url-pattern>/*</url-pattern> |
---|
| 64 | </filter-mapping> |
---|
| 65 | |
---|
[4ac0cf4] | 66 | <security-constraint> |
---|
| 67 | <web-resource-collection> |
---|
| 68 | <web-resource-name>Murachi</web-resource-name> |
---|
| 69 | <url-pattern>/murachi/*</url-pattern> |
---|
| 70 | </web-resource-collection> |
---|
| 71 | <user-data-constraint> |
---|
| 72 | <transport-guarantee>CONFIDENTIAL</transport-guarantee> |
---|
| 73 | </user-data-constraint> |
---|
| 74 | </security-constraint> |
---|
| 75 | |
---|
[b3b099f] | 76 | </web-app> |
---|