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