Project

General

Profile

Download (3.37 KB) Statistics
| Branch: | Tag: | Revision:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>EPCIS Trusted Agent</display-name>

<context-param>
<param-name>appConfigLocation</param-name>
<param-value>WEB-INF/classes/application.properties</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

<servlet>
<!-- CXFServlet providing the Query Interface Endpoint -->
<servlet-name>ETaQueryInterface</servlet-name>
<description>
This servlet dispatches EPCIS query requests to the Web service framework
for processing of the query according to the SOAP/HTTP Binding for the
Query Control Interface (EPCglobal EPCIS Specification Section 11.2).
</description>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<!-- CaptureOperationsModule servlet providing the Capture Interface -->
<servlet-name>ETaCaptureInterface</servlet-name>
<description>
This servlet captures EPCIS events sent in HTTP POST requests. The POST
data payload must contain an XML formatted EPCISDocument according to the
schema for core event types (EPCglobal EPCIS Specification Section 9.5).
</description>
<servlet-class>fr.unicaen.iota.eta.capture.CaptureOperationsServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>

<servlet-mapping>
<!-- The capture servlet will be available at http://{url:port}/{context-path}/capture -->
<servlet-name>ETaCaptureInterface</servlet-name>
<url-pattern>/capture</url-pattern>
</servlet-mapping>
<servlet-mapping>
<!-- The query Web service will be available at http://{url:port}/{context-path}/query
and http://{url:port}/{context-path}/ided_query -->
<servlet-name>ETaQueryInterface</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>5</session-timeout>
</session-config>

<mime-mapping>
<extension>wsdl</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xsd</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>

<welcome-file-list id="WelcomeFileList">
<welcome-file>index.html</welcome-file>
</welcome-file-list>

<security-constraint>
<web-resource-collection>
<web-resource-name>ETaSecure</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>eta_user</role-name>
</auth-constraint>
<user-data-constraint>
<transporting-guarantee>CONFIDENTIAL</transporting-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
</login-config>
<security-role>
<role-name>eta_user</role-name>
</security-role>

</web-app>
(3-3/3)