1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <description>A pizza shop application, created and open-sourced while I was at my JavaEE training.</description>
4 <display-name>Pizza-Service Application v1.0</display-name>
6 <description>Development mode for WELD, keep disabled unless really needed. Currently it messes up the website.</description>
7 <param-name>org.jboss.weld.development</param-name>
8 <param-value>false</param-value>
11 <description>Generic custom JSF tags library</description>
12 <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
13 <param-value>/WEB-INF/widgets.jsf.taglib.xml</param-value>
16 <description>Project stage</description>
17 <param-name>javax.faces.PROJECT_STAGE</param-name>
18 <param-value>Development</param-value>
21 <description>Whether the date converter's default timezone is system's timezone.</description>
22 <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
23 <param-value>true</param-value>
26 <description>All empty strings should be converted to null.</description>
27 <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
28 <param-value>true</param-value>
31 <description>Whether the multi-page registration page or a single registration page is active</description>
32 <param-name>is_feature_user_register_multiple_page_enabled</param-name>
33 <param-value>true</param-value>
36 <description>Whether a user name is required for this application.</description>
37 <param-name>is_feature_user_login_require_user_name_enabled</param-name>
38 <param-value>true</param-value>
41 <description>Whether "resend confirmation link" is enabled.</description>
42 <param-name>is_feature_user_resend_confirmation_link_enabled</param-name>
43 <param-value>true</param-value>
46 <description>Whether registration page is enabled.</description>
47 <param-name>is_feature_user_registration_enabled</param-name>
48 <param-value>true</param-value>
51 <description>Whether the guest menu is enabled/shown to the user.</description>
52 <param-name>is_feature_guest_menu_enabled</param-name>
53 <param-value>true</param-value>
56 <description>Whether recovery of user passwords is enabled.</description>
57 <param-name>is_feature_user_password_recovery_enabled</param-name>
58 <param-value>true</param-value>
61 <description>Whether the personal title is required for using the general contact controller.</description>
62 <param-name>is_feature_general_personal_title_enabled</param-name>
63 <param-value>true</param-value>
66 <description>Whether personal title is required for administrative contact controller.</description>
67 <param-name>is_feature_admin_personal_title_enabled</param-name>
68 <param-value>true</param-value>
71 <description>Whether users are allowed to edit their user data.</description>
72 <param-name>is_feature_user_edit_data_enabled</param-name>
73 <param-value>true</param-value>
76 <description>Whether the user list is accessible and visible.</description>
77 <param-name>is_feature_user_list_enabled</param-name>
78 <param-value>true</param-value>
81 <description>Whether imprint page is enabled.</description>
82 <param-name>is_feature_imprint_enabled</param-name>
83 <param-value>true</param-value>
86 <description>Whether terms page is enabled.</description>
87 <param-name>is_feature_terms_enabled</param-name>
88 <param-value>true</param-value>
91 <description>Whether privacy page is enabled.</description>
92 <param-name>is_feature_privacy_enabled</param-name>
93 <param-value>true</param-value>
96 <description>Feature: Users must change password after login (with current password). Administrators can enforce this.</description>
97 <param-name>is_feature_user_must_change_password_enabled</param-name>
98 <param-value>true</param-value>
101 <description>Whether users are allowed to change their login password.</description>
102 <param-name>is_feature_change_user_password_enabled</param-name>
103 <param-value>true</param-value>
106 <description>Whether users can change their email address.</description>
107 <param-name>is_feature_user_must_change_email_address_enabled</param-name>
108 <param-value>true</param-value>
111 <description>Whether user registration page is in index or own page.</description>
112 <param-name>is_feature_user_registration_in_index_enabled</param-name>
113 <param-value>false</param-value>
116 <description>Whether user can leave both passwords empty on registration.</description>
117 <param-name>is_feature_allow_user_registration_empty_password_enabled</param-name>
118 <param-value>false</param-value>
121 <description>Whether business contacts are used in this project.</description>
122 <param-name>is_feature_business_contacts_enabled</param-name>
123 <param-value>true</param-value>
126 <description>Maximum passwords that must be different.</description>
127 <param-name>max_user_password_history</param-name>
128 <param-value>5</param-value>
131 <description>Whether debugging of registration form is enabled.</description>
132 <param-name>is_debug_register_enabled</param-name>
133 <param-value>false</param-value>
136 <description>Whether the public user profile is enabled. If this option is enabled, the setting "is_user_login_require_user_name" must also be enabled as it is mandadory.</description>
137 <param-name>is_public_profile_enabled</param-name>
138 <param-value>true</param-value>
141 <description>Whether user names are required for completing registration.</description>
142 <param-name>is_user_login_require_user_name</param-name>
143 <param-value>true</param-value>
146 <description>Minimum password score (default 50 may be to low)</description>
147 <param-name>min_user_password_score</param-name>
148 <param-value>50</param-value>
151 <servlet-name>Faces Servlet</servlet-name>
152 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
153 <load-on-startup>1</load-on-startup>
156 <servlet-name>pdf</servlet-name>
157 <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
160 <servlet-name>Faces Servlet</servlet-name>
161 <url-pattern>/faces/*</url-pattern>
164 <extension>tpl</extension>
165 <mime-type>text/plain</mime-type>
168 <servlet-name>pdf</servlet-name>
169 <url-pattern>/customer/recipt.pdf</url-pattern>
177 <welcome-file>faces/index.xhtml</welcome-file>
179 <security-constraint>
180 <display-name>AdminConstraint</display-name>
181 <web-resource-collection>
182 <web-resource-name>admin</web-resource-name>
183 <description>Administrative Area</description>
184 <url-pattern>/faces/admin/*</url-pattern>
185 </web-resource-collection>
187 <description>Administrative Area Login</description>
188 <role-name>admin</role-name>
190 </security-constraint>
192 <auth-method>BASIC</auth-method>
193 <realm-name>file</realm-name>
196 <description>Administrative role</description>
197 <role-name>admin</role-name>