Révision bf9c3717
Ajouté par Remy Menard il y a environ 11 ans
ETa/ETa/src/main/webapp/WEB-INF/web.xml | ||
---|---|---|
<?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>
|
||
<?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>
|
Formats disponibles : Unified diff
Version 1.99
- a few bugs fixed!
- new testing application to capture events
- new options to the command line to configure the public/private keys
for TLS and for signature
- new method more accurate than "traceEPC": the events are sorted by
EPCIS
- New options added to the command line
- user can be identified by alias, if the DN of his certificate is
incompatible with the LDAP directory
- new shell script to configure the LDAP directory (same
functionnalities as IoTa-Installer)
- installs and configures LaMBDa
- finer certificate mangagement
- EpcILoN correctly subscribe with TLS to ETa
- new figure for LaMBDa
- shows data flows between PHI and YPSilon
- sets DS and DSeTa in different schemas