]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/web.xml
Continued (please cherry-pick)
[pizzaservice-war.git] / web / WEB-INF / web.xml
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>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>JLandingPage Application v1.0</display-name>
5     <context-param>
6         <description>Whether the multi-page registration page or a single registration page is active</description>
7         <param-name>is_feature_user_register_multiple_page_enabled</param-name>
8         <param-value>true</param-value>
9     </context-param>
10     <context-param>
11         <description>Whether a user name is required for this application.</description>
12         <param-name>is_feature_user_name_required_enabled</param-name>
13         <param-value>true</param-value>
14     </context-param>
15     <context-param>
16         <description>Whether the public user profile is enabled.</description>
17         <param-name>is_public_profile_enabled</param-name>
18         <param-value>false</param-value>
19     </context-param>
20     <context-param>
21         <description>Whether "resend confirmation link" is enabled.</description>
22         <param-name>is_feature_user_resend_confirm_link_enabled</param-name>
23         <param-value>false</param-value>
24     </context-param>
25     <context-param>
26         <description>Whether default timezon is set from system's timezone</description>
27         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
28         <param-value>true</param-value>
29     </context-param>
30     <context-param>
31         <description>Whether registration page is enabled.</description>
32         <param-name>is_feature_user_registration_enabled</param-name>
33         <param-value>false</param-value>
34     </context-param>
35     <context-param>
36         <description>Whether the guest menu is enabled/shown to the user.</description>
37         <param-name>is_feature_guest_menu_enabled</param-name>
38         <param-value>true</param-value>
39     </context-param>
40     <context-param>
41         <description>Whether recovery of user passwords is enabled.</description>
42         <param-name>is_feature_user_password_recovery_enabled</param-name>
43         <param-value>false</param-value>
44     </context-param>
45     <context-param>
46         <description>Wether the gender is required for using the general contact controller.</description>
47         <param-name>is_feature_general_gender_enabled</param-name>
48         <param-value>true</param-value>
49     </context-param>
50     <context-param>
51         <description>Whether gender is required for administrative contact controller.</description>
52         <param-name>is_feature_admin_gender_enabled</param-name>
53         <param-value>false</param-value>
54     </context-param>
55     <context-param>
56         <description>Whether users are allowed to edit their user data.</description>
57         <param-name>is_feature_user_edit_data_enabled</param-name>
58         <param-value>false</param-value>
59     </context-param>
60     <context-param>
61         <description>Whether the user list is accessible and visible.</description>
62         <param-name>is_feature_user_list_enabled</param-name>
63         <param-value>false</param-value>
64     </context-param>
65     <context-param>
66         <description>Whether imprint page is enabled.</description>
67         <param-name>is_feature_imprint_enabled</param-name>
68         <param-value>true</param-value>
69     </context-param>
70     <context-param>
71         <description>Whether terms page is enabled.</description>
72         <param-name>is_feature_terms_enabled</param-name>
73         <param-value>true</param-value>
74     </context-param>
75     <context-param>
76         <description>Whether privacy page is enabled.</description>
77         <param-name>is_feature_privacy_enabled</param-name>
78         <param-value>true</param-value>
79     </context-param>
80     <servlet>
81         <servlet-name>Faces Servlet</servlet-name>
82         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
83         <load-on-startup>1</load-on-startup>
84     </servlet>
85     <servlet>
86         <servlet-name>pdf</servlet-name>
87         <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
88     </servlet>
89     <servlet-mapping>
90         <servlet-name>Faces Servlet</servlet-name>
91         <url-pattern>/faces/*</url-pattern>
92     </servlet-mapping>
93     <mime-mapping>
94         <extension>tpl</extension>
95         <mime-type>text/plain</mime-type>
96     </mime-mapping>
97     <servlet-mapping>
98         <servlet-name>pdf</servlet-name>
99         <url-pattern>/customer/recipt.pdf</url-pattern>
100     </servlet-mapping>
101     <session-config>
102         <session-timeout>
103             30
104         </session-timeout>
105     </session-config>
106     <welcome-file-list>
107         <welcome-file>faces/index.xhtml</welcome-file>
108     </welcome-file-list>
109     <security-constraint>
110         <display-name>AdminConstraint</display-name>
111         <web-resource-collection>
112             <web-resource-name>admin</web-resource-name>
113             <description>Administrative Area</description>
114             <url-pattern>/faces/admin/*</url-pattern>
115         </web-resource-collection>
116         <auth-constraint>
117             <description>Administrative Area Login</description>
118             <role-name>admin</role-name>
119         </auth-constraint>
120     </security-constraint>
121     <login-config>
122         <auth-method>BASIC</auth-method>
123         <realm-name>file</realm-name>
124     </login-config>
125     <security-role>
126         <description>Administrative role</description>
127         <role-name>admin</role-name>
128     </security-role>
129 </web-app>