source: contrib/MailArchiver/sources/src/serpro/mailarchiver/config/webroot/arcservutil/WEB-INF/web.xml @ 6785

Revision 6785, 2.5 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado codigo do MailArchiver?. Documentação na subpasta DOCS.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4/**
5 * MailArchiver is an application that provides services for storing and managing e-mail messages through a Web Services SOAP interface.
6 * Copyright (C) 2012  Marcio Andre Scholl Levien and Fernando Alberto Reuter Wendt and Jose Ronaldo Nogueira Fonseca Junior
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 */
21
22/******************************************************************************\
23*
24*  This product was developed by
25*
26*        SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO),
27*
28*  a government company established under Brazilian law (5.615/70),
29*  at Department of Development of Porto Alegre.
30*
31\******************************************************************************/
32-->
33
34<web-app>
35
36    <servlet>
37        <servlet-name>arcServUtilServlet</servlet-name>
38        <display-name>CXF Addons Servlet</display-name>
39        <servlet-class>
40            org.eclipse.jetty.servlet.DefaultServlet
41        </servlet-class>
42        <load-on-startup>1</load-on-startup>
43    </servlet>
44
45    <servlet-mapping>
46        <servlet-name>arcServUtilServlet</servlet-name>
47        <url-pattern>/*</url-pattern>
48    </servlet-mapping>
49
50    <filter>
51        <filter-name>cross-origin</filter-name>
52        <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
53        <init-param>
54            <param-name>allowCredentials</param-name>
55            <param-value>true</param-value>
56        </init-param>
57        <init-param>
58            <param-name>allowedHeaders</param-name>
59            <param-value>content-type,messagetype,soapaction</param-value>
60        </init-param>
61    </filter>
62
63    <filter-mapping>
64        <filter-name>cross-origin</filter-name>
65        <url-pattern>/*</url-pattern>
66    </filter-mapping>
67
68    <init-param>
69        <param-name>xpoweredBy</param-name>
70        <param-value>false</param-value>
71    </init-param>
72</web-app>
Note: See TracBrowser for help on using the repository browser.