]> git.mxchange.org Git - jjobs-war.git/commitdiff
imported from addressbook-war (again)
authorRoland Haeder <roland@mxchange.org>
Mon, 15 Feb 2016 17:30:36 +0000 (18:30 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 15 Feb 2016 17:30:36 +0000 (18:30 +0100)
nbproject/faces-config.NavData
web/WEB-INF/web.xml

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0cb544463d3f0405b8ca7f77bef9020e57e3e090 100644 (file)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scene Scope="Project" version="2">
+       <Scope Scope="Faces Configuration Only"/>
+       <Scope Scope="Project"/>
+       <Scope Scope="All Faces Configurations"/>
+</Scene>
index c5e7c7381b8565920988ba7607cf0d319cb2eb37..467ff549239efeee27b11a95648d04f8e1edb39c 100644 (file)
@@ -1,24 +1,70 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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">
-    <context-param>
-        <param-name>javax.faces.PROJECT_STAGE</param-name>
-        <param-value>Development</param-value>
-    </context-param>
-    <servlet>
-        <servlet-name>Faces Servlet</servlet-name>
-        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
-        <load-on-startup>1</load-on-startup>
-    </servlet>
-    <servlet-mapping>
-        <servlet-name>Faces Servlet</servlet-name>
-        <url-pattern>/faces/*</url-pattern>
-    </servlet-mapping>
-    <session-config>
-        <session-timeout>
-            30
-        </session-timeout>
-    </session-config>
-    <welcome-file-list>
-        <welcome-file>faces/index.xhtml</welcome-file>
-    </welcome-file-list>
+       <description>An application for handling and sending out applications to companies.</description>
+       <display-name>JJobs v1.0</display-name>
+       <context-param>
+               <param-name>javax.faces.PROJECT_STAGE</param-name>
+               <param-value>Development</param-value>
+       </context-param>
+       <servlet>
+               <servlet-name>Faces Servlet</servlet-name>
+               <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
+       <servlet-mapping>
+               <servlet-name>Faces Servlet</servlet-name>
+               <url-pattern>/faces/*</url-pattern>
+       </servlet-mapping>
+       <session-config>
+               <session-timeout>
+                       30
+               </session-timeout>
+       </session-config>
+       <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>
+               </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>
+       <security-role>
+               <description>Administrativre rule</description>
+               <role-name>admin</role-name>
+       </security-role>
 </web-app>