<?xml version="1.0" encoding="UTF-8"?>
<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">
+ <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>
+ <display-name>JLandingPage Application v1.0</display-name>
<context-param>
- <description>Full-qualified back class name, must implement DatabaseBackend interface</description>
- <param-name>database.backend.class</param-name>
- <param-value>org.mxchange.jcore.database.backend.base64.Base64CsvDatabaseBackend</param-value>
+ <description>Whether debug mode is for registration controller enabled.</description>
+ <param-name>is_debug_register_enabled</param-name>
+ <param-value>false</param-value>
</context-param>
<context-param>
- <description>Login name for MySQL database, mostly not root</description>
- <param-name>database.mysql.login</param-name>
- <param-value>root</param-value>
+ <description>Whether the multi-page registration page or a single registration page is active</description>
+ <param-name>is_multi_register_page</param-name>
+ <param-value>true</param-value>
</context-param>
<context-param>
- <description>Password for above login, an empty password can be archived by setting a space</description>
- <param-name>database.mysql.password</param-name>
- <param-value>root</param-value>
+ <description>Whether a user name is required on registration</description>
+ <param-name>is_user_name_required</param-name>
+ <param-value>false</param-value>
</context-param>
<context-param>
- <description>Hostname or IP address for MySQL server</description>
- <param-name>database.mysql.host</param-name>
- <param-value>localhost</param-value>
+ <description>Whether the public user profile is enabled.</description>
+ <param-name>is_public_profile_enabled</param-name>
+ <param-value>false</param-value>
</context-param>
<context-param>
- <description>Name of MySQL catalog</description>
- <param-name>database.mysql.dbname</param-name>
- <param-value>test</param-value>
+ <description>Whether "resend confirmation link" ius enabled.</description>
+ <param-name>is_resend_confirm_link_enabled</param-name>
+ <param-value>true</param-value>
</context-param>
- <filter>
- <description>A filter for setting character encoding to UTF-8</description>
- <filter-name>Utf8HttpFilter</filter-name>
- <filter-class>org.mxchange.pizzaapplication.filter.http.utf8.Utf8HttpFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>Utf8HttpFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet>
+ <servlet-name>pdf</servlet-name>
+ <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+ <mime-mapping>
+ <extension>tpl</extension>
+ <mime-type>text/plain</mime-type>
+ </mime-mapping>
+ <servlet-mapping>
+ <servlet-name>pdf</servlet-name>
+ <url-pattern>/customer/recipt.pdf</url-pattern>
+ </servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
+ <welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>
- <error-page>
- <exception-type>Exception</exception-type>
- <location>/errorHandler.jsp</location>
- </error-page>
+ <security-constraint>
+ <display-name>AdminConstraint</display-name>
+ <web-resource-collection>
+ <web-resource-name>admin</web-resource-name>
+ <description>Administrative Area</description>
+ <url-pattern>/faces/admin/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <description>Administrative Area Login</description>
+ <role-name>admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>file</realm-name>
+ </login-config>
+ <security-role>
+ <description>Administrative role</description>
+ <role-name>admin</role-name>
+ </security-role>
</web-app>