root/LaMBDa/src/main/webapp/WEB-INF/web.xml @ 8fd1d584
bf9c3717 | Rémy Ménard | <?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>
|
|||
8fd1d584 | Rémy Ménard | <welcome-file>/jsp/pages/index.jsp</welcome-file>
|
|
bf9c3717 | Rémy Ménard | </welcome-file-list>
|
|
<jsp-config>
|
|||
<jsp-property-group>
|
|||
8fd1d584 | Rémy Ménard | <url-pattern>/jsp/pages/*</url-pattern>
|
|
bf9c3717 | Rémy Ménard | <page-encoding>UTF-8</page-encoding>
|
|
8fd1d584 | Rémy Ménard | <include-prelude>/jsp/common/prelude.jsp</include-prelude>
|
|
<include-coda>/jsp/common/coda.jsp</include-coda>
|
|||
bf9c3717 | Rémy Ménard | </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>
|