ulrich@undisclosed
2020-05-11 f9d0c4a3da9d183c90bc7351f233fa67ea3c66a7
commit | author | age
7fb4d9 1 <?xml version="1.0" encoding="UTF-8"?>
U 2 <web-app version="3.0" 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_3_0.xsd">
564974 3     <description>Nutzerverwaltung</description>
7fb4d9 4     <display-name>Nutzerverwaltung</display-name>
314fea 5     <context-param>
U 6         <param-name>dsname</param-name>
c65695 7         <param-value>jdbc/NewUserDB</param-value>
314fea 8     </context-param>
6240cd 9     <context-param>
U 10         <param-name>digester</param-name>
8a5d57 11         <param-value>de.uhilger.um.TomcatDigester</param-value>
6240cd 12     </context-param>
f4a79c 13     <filter>
U 14         <filter-name>NiceFilter</filter-name>
15         <filter-class>de.uhilger.um.web.NiceFilter</filter-class>
16     </filter>
17     <filter-mapping>
18         <filter-name>NiceFilter</filter-name>
19         <url-pattern>/svc/*</url-pattern>
20     </filter-mapping>
c65695 21     <listener>
51c9e3 22         <listener-class>de.uhilger.um.web.Initialiser</listener-class>
c65695 23     </listener>
f8b605 24     <servlet>
U 25         <servlet-name>TransitServlet</servlet-name>
26         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
27         <init-param>
28             <param-name>klassen</param-name>
29             <param-value>de.uhilger.um.api</param-value>
30         </init-param>
31     </servlet>
70a614 32     <servlet>
U 33         <servlet-name>PublicTransit</servlet-name>
34         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
35         <init-param>
36             <param-name>klassen</param-name>
37             <param-value>de.uhilger.um.pub</param-value>
38         </init-param>
39     </servlet>
48a649 40     <servlet>
U 41         <servlet-name>ProfilDienst</servlet-name>
42         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
43         <init-param>
44             <param-name>klassen</param-name>
45             <param-value>de.uhilger.um.api.Profil</param-value>
46         </init-param>
47     </servlet>
f8b605 48     <servlet-mapping>
U 49         <servlet-name>TransitServlet</servlet-name>
50         <url-pattern>/api</url-pattern>
f4a79c 51     </servlet-mapping>
70a614 52     <servlet-mapping>
U 53         <servlet-name>PublicTransit</servlet-name>
54         <url-pattern>/pub</url-pattern>
48a649 55     </servlet-mapping>
U 56     <servlet-mapping>
57         <servlet-name>ProfilDienst</servlet-name>
58         <url-pattern>/prf</url-pattern>
70a614 59     </servlet-mapping>
7fb4d9 60     <session-config>
U 61         <session-timeout>
62             30
63         </session-timeout>
64     </session-config>
3400c7 65     <welcome-file-list>
U 66         <welcome-file>index.html</welcome-file>
67     </welcome-file-list>
e0ec31 68     <security-constraint>
U 69         <display-name>nutzerAdminConstraint</display-name>
70         <web-resource-collection>
71             <web-resource-name>nutzerAdmin</web-resource-name>
72             <description>Nutzer-Administration</description>
73             <url-pattern>/ui/*</url-pattern>
57c58d 74             <url-pattern>/svc/*</url-pattern>
U 75             <url-pattern>/api/*</url-pattern>
e0ec31 76         </web-resource-collection>
U 77         <auth-constraint>
78             <description>nutzerAdminAuthContraint</description>
79             <role-name>nutzerAdmin</role-name>
48a649 80         </auth-constraint>
U 81     </security-constraint>
82     <security-constraint>
83         <display-name>nutzerProfilConstraint</display-name>
84         <web-resource-collection>
85             <web-resource-name>nutzerProfil</web-resource-name>
86             <description>Nutzerprofil</description>
87             <url-pattern>/prf/*</url-pattern>
88             <url-pattern>/profil/*</url-pattern>
89         </web-resource-collection>
90         <auth-constraint>
91             <description>nutzerProfilAuthContraint</description>
92             <role-name>nutzerProfil</role-name>
e0ec31 93         </auth-constraint>
U 94     </security-constraint>
95     <login-config>
96         <auth-method>FORM</auth-method>
97         <form-login-config>
98             <form-login-page>/login_form.html</form-login-page>
99             <form-error-page>/login_error.jsp</form-error-page>
100         </form-login-config>
101     </login-config>
102     <security-role>
103         <description/>
104         <role-name>nutzerAdmin</role-name>
105     </security-role>
48a649 106     <security-role>
U 107         <description/>
108         <role-name>nutzerProfil</role-name>
109     </security-role>
7fb4d9 110 </web-app>