1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
3 <description>An online address book application to share private and business memebers between all members. It is also possible that the user's profile can be made visible to outside.</description>
4 <display-name>Addressbook Application v1.0</display-name>
6 <description>Whether debug mode is for registration controller enabled.</description>
7 <param-name>is_debug_register_enabled</param-name>
8 <param-value>false</param-value>
11 <description>Whether the multi-page registration page or a single registration page is active</description>
12 <param-name>is_multi_register_page</param-name>
13 <param-value>true</param-value>
16 <description>Whether a user name is required on registration</description>
17 <param-name>is_user_name_required</param-name>
18 <param-value>false</param-value>
21 <description>Whether the public user profile is enabled.</description>
22 <param-name>is_public_profile_enabled</param-name>
23 <param-value>false</param-value>
26 <description>Whether "resend confirmation link" ius enabled.</description>
27 <param-name>is_resend_confirm_link_enabled</param-name>
28 <param-value>false</param-value>
31 <servlet-name>Faces Servlet</servlet-name>
32 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
33 <load-on-startup>1</load-on-startup>
36 <servlet-name>Faces Servlet</servlet-name>
37 <url-pattern>/faces/*</url-pattern>
44 <http-only>true</http-only>
48 <welcome-file>faces/index.xhtml</welcome-file>
51 <display-name>AdminConstraint</display-name>
52 <web-resource-collection>
53 <web-resource-name>admin</web-resource-name>
54 <description>Administrative area</description>
55 <url-pattern>/faces/admin/*</url-pattern>
56 </web-resource-collection>
58 <description>Admin authentication</description>
59 <role-name>admin</role-name>
61 </security-constraint>
63 <extension>tpl</extension>
64 <mime-type>text/plain</mime-type>
67 <auth-method>BASIC</auth-method>
68 <realm-name>file</realm-name>
71 <description>Administrativre rule</description>
72 <role-name>admin</role-name>