]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/web.xml
re-enabled resend confirmation link
[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 debug mode is for registration controller enabled.</description>
7         <param-name>is_debug_register_enabled</param-name>
8         <param-value>false</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_multi_register_page</param-name>
13         <param-value>true</param-value>
14     </context-param>
15     <context-param>
16         <description>Whether a user name is required on registration</description>
17         <param-name>is_user_name_required</param-name>
18         <param-value>false</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" ius enabled.</description>
27         <param-name>is_resend_confirm_link_enabled</param-name>
28         <param-value>true</param-value>
29     </context-param>
30     <servlet>
31         <servlet-name>Faces Servlet</servlet-name>
32         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
33         <load-on-startup>1</load-on-startup>
34     </servlet>
35     <servlet>
36         <servlet-name>pdf</servlet-name>
37         <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
38     </servlet>
39     <servlet-mapping>
40         <servlet-name>Faces Servlet</servlet-name>
41         <url-pattern>/faces/*</url-pattern>
42     </servlet-mapping>
43     <mime-mapping>
44         <extension>tpl</extension>
45         <mime-type>text/plain</mime-type>
46     </mime-mapping>
47     <servlet-mapping>
48         <servlet-name>pdf</servlet-name>
49         <url-pattern>/customer/recipt.pdf</url-pattern>
50     </servlet-mapping>
51     <session-config>
52         <session-timeout>
53             30
54         </session-timeout>
55     </session-config>
56     <welcome-file-list>
57         <welcome-file>faces/index.xhtml</welcome-file>
58     </welcome-file-list>
59     <security-constraint>
60         <display-name>AdminConstraint</display-name>
61         <web-resource-collection>
62             <web-resource-name>admin</web-resource-name>
63             <description>Administrative Area</description>
64             <url-pattern>/faces/admin/*</url-pattern>
65         </web-resource-collection>
66         <auth-constraint>
67             <description>Administrative Area Login</description>
68             <role-name>admin</role-name>
69         </auth-constraint>
70     </security-constraint>
71     <login-config>
72         <auth-method>BASIC</auth-method>
73         <realm-name>file</realm-name>
74     </login-config>
75     <security-role>
76         <description>Administrative role</description>
77         <role-name>admin</role-name>
78     </security-role>
79 </web-app>