]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/web.xml
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / web.xml
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 application for handling and sending out applications to companies.</description>
4     <display-name>JJobs v1.0</display-name>
5     <context-param>
6         <description>Project stage.</description>
7         <param-name>javax.faces.PROJECT_STAGE</param-name>
8         <param-value>Development</param-value>
9     </context-param>
10     <context-param>
11         <description>Whether the multi-page registration page or a single registration page is active</description>
12         <param-name>is_feature_user_register_multiple_page_enabled</param-name>
13         <param-value>true</param-value>
14     </context-param>
15     <context-param>
16         <description>Whether a user name is required for this application.</description>
17         <param-name>is_feature_user_name_required_enabled</param-name>
18         <param-value>true</param-value>
19     </context-param>
20     <context-param>
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>
24     </context-param>
25     <context-param>
26         <description>Whether "resend confirmation link" is enabled.</description>
27         <param-name>is_feature_user_resend_confirmation_link_enabled</param-name>
28         <param-value>true</param-value>
29     </context-param>
30     <context-param>
31         <description>Whether default timezone is set from system's timezone</description>
32         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
33         <param-value>true</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 registration page is enabled.</description>
52         <param-name>is_feature_user_registration_enabled</param-name>
53         <param-value>false</param-value>
54     </context-param>
55     <context-param>
56         <description>Whether the guest menu is enabled/shown to the user.</description>
57         <param-name>is_feature_guest_menu_enabled</param-name>
58         <param-value>true</param-value>
59     </context-param>
60     <context-param>
61         <description>Whether recovery of user passwords is enabled.</description>
62         <param-name>is_feature_user_password_recovery_enabled</param-name>
63         <param-value>true</param-value>
64     </context-param>
65     <context-param>
66         <description>Wether the gender is required for using the general contact controller.</description>
67         <param-name>is_feature_general_gender_enabled</param-name>
68         <param-value>true</param-value>
69     </context-param>
70     <context-param>
71         <description>Whether gender is required for administrative contact controller.</description>
72         <param-name>is_feature_admin_gender_enabled</param-name>
73         <param-value>true</param-value>
74     </context-param>
75     <context-param>
76         <description>Whether users are allowed to edit their user data.</description>
77         <param-name>is_feature_user_edit_data_enabled</param-name>
78         <param-value>true</param-value>
79     </context-param>
80     <context-param>
81         <description>Whether the user list is accessible and visible.</description>
82         <param-name>is_feature_user_list_enabled</param-name>
83         <param-value>true</param-value>
84     </context-param>
85     <context-param>
86         <description>Whether imprint page is enabled.</description>
87         <param-name>is_feature_imprint_enabled</param-name>
88         <param-value>true</param-value>
89     </context-param>
90     <context-param>
91         <description>Whether terms page is enabled.</description>
92         <param-name>is_feature_terms_enabled</param-name>
93         <param-value>true</param-value>
94     </context-param>
95     <context-param>
96         <description>Whether privacy page is enabled.</description>
97         <param-name>is_feature_privacy_enabled</param-name>
98         <param-value>true</param-value>
99     </context-param>
100     <context-param>
101         <description>Feature: Users must change password after login (with current password). Administrators can enforce this.</description>
102         <param-name>is_feature_user_must_change_password_enabled</param-name>
103         <param-value>true</param-value>
104     </context-param>
105     <context-param>
106         <description>Whether users are allowed to change their login password.</description>
107         <param-name>is_feature_change_user_password_enabled</param-name>
108         <param-value>true</param-value>
109     </context-param>
110     <context-param>
111         <description>Maximum passwords that must be different.</description>
112         <param-name>max_user_password_history</param-name>
113         <param-value>5</param-value>
114     </context-param>
115     <context-param>
116         <description>Whether debugging of registration form is enabled.</description>
117         <param-name>is_debug_register_enabled</param-name>
118         <param-value>false</param-value>
119     </context-param>
120     <context-param>
121         <description>Whether users can change their email address.</description>
122         <param-name>is_feature_user_must_change_email_address_enabled</param-name>
123         <param-value>true</param-value>
124     </context-param>
125     <context-param>
126         <description>Minimum password score (default 50 may be to low)</description>
127         <param-name>min_user_password_score</param-name>
128         <param-value>50</param-value>
129     </context-param>
130     <context-param>
131         <description>Whether user registration page is in index or own page.</description>
132         <param-name>is_feature_user_registraion_in_index_enabled</param-name>
133         <param-value>false</param-value>
134     </context-param>
135     <servlet>
136         <servlet-name>Faces Servlet</servlet-name>
137         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
138         <load-on-startup>1</load-on-startup>
139     </servlet>
140     <servlet-mapping>
141         <servlet-name>Faces Servlet</servlet-name>
142         <url-pattern>/faces/*</url-pattern>
143     </servlet-mapping>
144     <session-config>
145         <session-timeout>
146             30
147         </session-timeout>
148         <cookie-config>
149             <http-only>true</http-only>
150         </cookie-config>
151     </session-config>
152     <welcome-file-list>
153         <welcome-file>faces/index.xhtml</welcome-file>
154     </welcome-file-list>
155     <security-constraint>
156         <display-name>AdminConstraint</display-name>
157         <web-resource-collection>
158             <web-resource-name>admin</web-resource-name>
159             <description>Administrative area</description>
160             <url-pattern>/faces/admin/*</url-pattern>
161         </web-resource-collection>
162         <auth-constraint>
163             <description>Admin authentication</description>
164             <role-name>admin</role-name>
165         </auth-constraint>
166     </security-constraint>
167     <mime-mapping>
168         <extension>tpl</extension>
169         <mime-type>text/plain</mime-type>
170     </mime-mapping>
171     <login-config>
172         <auth-method>BASIC</auth-method>
173         <realm-name>file</realm-name>
174     </login-config>
175     <security-role>
176         <description>Administrativre rule</description>
177         <role-name>admin</role-name>
178     </security-role>
179 </web-app>