|
<?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>LaMBDa</display-name>
|
|
|
|
<servlet>
|
|
<servlet-name>Demo</servlet-name>
|
|
<servlet-class>fr.unicaen.iota.lambda.Demo</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>Demo</servlet-name>
|
|
<url-pattern>/demo</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<session-config>
|
|
<session-timeout>
|
|
30
|
|
</session-timeout>
|
|
</session-config>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>/jsp/pages/index.jsp</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
<jsp-config>
|
|
<jsp-property-group>
|
|
<url-pattern>/jsp/pages/*</url-pattern>
|
|
<page-encoding>UTF-8</page-encoding>
|
|
<include-prelude>/jsp/common/prelude.jsp</include-prelude>
|
|
<include-coda>/jsp/common/coda.jsp</include-coda>
|
|
</jsp-property-group>
|
|
</jsp-config>
|
|
|
|
<security-constraint>
|
|
<web-resource-collection>
|
|
<web-resource-name>LaMBDaSecure</web-resource-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<http-method>GET</http-method>
|
|
<http-method>POST</http-method>
|
|
</web-resource-collection>
|
|
<auth-constraint>
|
|
<role-name>lambda_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>lambda_user</role-name>
|
|
</security-role>
|
|
|
|
</web-app>
|