<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>Addressbook 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>
+ <context-param>
+ <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
+ <param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<welcome-file-list>
<welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>
- <security-constraint>
- <display-name>LoginConstraint</display-name>
- <web-resource-collection>
- <web-resource-name>loginArea</web-resource-name>
- <description>Login area</description>
- <url-pattern>/llogin/*</url-pattern>
- </web-resource-collection>
- <auth-constraint>
- <description>User Authentication</description>
- <role-name>user</role-name>
- </auth-constraint>
- </security-constraint>
<security-constraint>
<display-name>AdminConstraint</display-name>
<web-resource-collection>
<web-resource-name>admin</web-resource-name>
<description>Administrative area</description>
- <url-pattern>/admin/*</url-pattern>
+ <url-pattern>/faces/admin/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>Admin authentication</description>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
- <login-config>
- <auth-method>FORM</auth-method>
- <realm-name>Loginbereich / Login area</realm-name>
- <form-login-config>
- <form-login-page>/user/login.xhtml</form-login-page>
- <form-error-page>/user/login_error.xhtml</form-error-page>
- </form-login-config>
- </login-config>
- <security-role>
- <description>A logged-in user that has previously registered himself/herself.</description>
- <role-name>user</role-name>
- </security-role>
<mime-mapping>
<extension>tpl</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>file</realm-name>
+ </login-config>
<security-role>
<description>Administrativre rule</description>
<role-name>admin</role-name>