]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/web.xml
da0d52cf9c0d5315e5ff307d5eb3e0b22e7516f9
[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>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_confirmation_link_enabled</param-name>
23         <param-value>true</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 a user name is required on registration</description>
52         <param-name>is_user_name_required</param-name>
53         <param-value>false</param-value>
54     </context-param>
55     <context-param>
56         <description>Whether the public user profile is enabled.</description>
57         <param-name>is_public_profile_enabled</param-name>
58         <param-value>false</param-value>
59     </context-param>
60     <context-param>
61         <description>Whether "resend confirmation link" ius enabled.</description>
62         <param-name>is_resend_confirm_link_enabled</param-name>
63         <param-value>true</param-value>
64     </context-param>
65     <context-param>
66         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
67         <param-value>true</param-value>
68     </context-param>
69     <context-param>
70         <description>Feature: Users must change password after login (with current password). Administrators can enforce this.</description>
71         <param-name>is_feature_user_must_change_password_enabled</param-name>
72         <param-value>true</param-value>
73     </context-param>
74     <context-param>
75         <description>Whether users are allowed to change their login password.</description>
76         <param-name>is_feature_change_user_password_enabled</param-name>
77         <param-value>true</param-value>
78     </context-param>
79     <context-param>
80         <description>Maximum passwords that must be different.</description>
81         <param-name>max_user_password_history</param-name>
82         <param-value>5</param-value>
83     </context-param>
84     <servlet>
85         <servlet-name>Faces Servlet</servlet-name>
86         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
87         <load-on-startup>1</load-on-startup>
88     </servlet>
89     <servlet-mapping>
90         <servlet-name>Faces Servlet</servlet-name>
91         <url-pattern>/faces/*</url-pattern>
92     </servlet-mapping>
93     <session-config>
94         <session-timeout>
95             30
96         </session-timeout>
97         <cookie-config>
98             <http-only>true</http-only>
99         </cookie-config>
100     </session-config>
101     <welcome-file-list>
102         <welcome-file>faces/index.xhtml</welcome-file>
103     </welcome-file-list>
104     <security-constraint>
105         <display-name>AdminConstraint</display-name>
106         <web-resource-collection>
107             <web-resource-name>admin</web-resource-name>
108             <description>Administrative area</description>
109             <url-pattern>/faces/admin/*</url-pattern>
110         </web-resource-collection>
111         <auth-constraint>
112             <description>Admin authentication</description>
113             <role-name>admin</role-name>
114         </auth-constraint>
115     </security-constraint>
116     <mime-mapping>
117         <extension>tpl</extension>
118         <mime-type>text/plain</mime-type>
119     </mime-mapping>
120     <login-config>
121         <auth-method>BASIC</auth-method>
122         <realm-name>file</realm-name>
123     </login-config>
124     <security-role>
125         <description>Administrativre rule</description>
126         <role-name>admin</role-name>
127     </security-role>
128 </web-app>