]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/web.xml
37c28b0ee8bf3a5ffca9c565b7b96308f1b475b5
[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 the multi-page registration page or a single registration page is active</description>
22         <param-name>is_multi_register_page</param-name>
23         <param-value>true</param-value>
24     </context-param>
25     <context-param>
26         <description>Whether a user name is required on registration</description>
27         <param-name>is_user_name_required</param-name>
28         <param-value>false</param-value>
29     </context-param>
30     <context-param>
31         <description>Whether the public user profile is enabled.</description>
32         <param-name>is_public_profile_enabled</param-name>
33         <param-value>false</param-value>
34     </context-param>
35     <context-param>
36         <description>Whether "resend confirmation link" ius enabled.</description>
37         <param-name>is_resend_confirm_link_enabled</param-name>
38         <param-value>true</param-value>
39     </context-param>
40     <context-param>
41         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
42         <param-value>true</param-value>
43     </context-param>
44     <context-param>
45         <description>Feature: Users must change password after login (with current password). Administrators can enforce this.</description>
46         <param-name>is_feature_user_must_change_password_enabled</param-name>
47         <param-value>true</param-value>
48     </context-param>
49     <servlet>
50         <servlet-name>Faces Servlet</servlet-name>
51         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
52         <load-on-startup>1</load-on-startup>
53     </servlet>
54     <servlet-mapping>
55         <servlet-name>Faces Servlet</servlet-name>
56         <url-pattern>/faces/*</url-pattern>
57     </servlet-mapping>
58     <session-config>
59         <session-timeout>
60             30
61         </session-timeout>
62         <cookie-config>
63             <http-only>true</http-only>
64         </cookie-config>
65     </session-config>
66     <welcome-file-list>
67         <welcome-file>faces/index.xhtml</welcome-file>
68     </welcome-file-list>
69     <security-constraint>
70         <display-name>AdminConstraint</display-name>
71         <web-resource-collection>
72             <web-resource-name>admin</web-resource-name>
73             <description>Administrative area</description>
74             <url-pattern>/faces/admin/*</url-pattern>
75         </web-resource-collection>
76         <auth-constraint>
77             <description>Admin authentication</description>
78             <role-name>admin</role-name>
79         </auth-constraint>
80     </security-constraint>
81     <mime-mapping>
82         <extension>tpl</extension>
83         <mime-type>text/plain</mime-type>
84     </mime-mapping>
85     <login-config>
86         <auth-method>BASIC</auth-method>
87         <realm-name>file</realm-name>
88     </login-config>
89     <security-role>
90         <description>Administrativre rule</description>
91         <role-name>admin</role-name>
92     </security-role>
93 </web-app>