]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/web.xml
redirection should take place in war project, so moved it here
[pizzaservice-war.git] / web / WEB-INF / web.xml
index d25422b774539b15c0b187f401346e5f6597070e..f5133bf9a95ddd46261645a9e30d4c093f3a34f4 100644 (file)
@@ -1,8 +1,31 @@
 <?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>
-        <param-name>javax.faces.PROJECT_STAGE</param-name>
-        <param-value>Development</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>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>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>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>Whether "resend confirmation link" ius enabled.</description>
+        <param-name>is_resend_confirm_link_enabled</param-name>
+        <param-value>true</param-value>
     </context-param>
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
@@ -34,7 +57,7 @@
         <welcome-file>faces/index.xhtml</welcome-file>
     </welcome-file-list>
     <security-constraint>
-        <display-name>Constraint1</display-name>
+        <display-name>AdminConstraint</display-name>
         <web-resource-collection>
             <web-resource-name>admin</web-resource-name>
             <description>Administrative Area</description>
@@ -42,6 +65,7 @@
         </web-resource-collection>
         <auth-constraint>
             <description>Administrative Area Login</description>
+            <role-name>admin</role-name>
         </auth-constraint>
     </security-constraint>
     <login-config>