ulrich
2020-05-19 a52c39a698c68fa04789629a79c45ad1f882e627
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>
d0af4c 74             <url-pattern>/ui2/*</url-pattern>
57c58d 75             <url-pattern>/svc/*</url-pattern>
U 76             <url-pattern>/api/*</url-pattern>
e0ec31 77         </web-resource-collection>
U 78         <auth-constraint>
79             <description>nutzerAdminAuthContraint</description>
80             <role-name>nutzerAdmin</role-name>
48a649 81         </auth-constraint>
U 82     </security-constraint>
83     <security-constraint>
84         <display-name>nutzerProfilConstraint</display-name>
85         <web-resource-collection>
86             <web-resource-name>nutzerProfil</web-resource-name>
87             <description>Nutzerprofil</description>
88             <url-pattern>/prf/*</url-pattern>
89             <url-pattern>/profil/*</url-pattern>
5daeb2 90             <url-pattern>/profil2/*</url-pattern>
48a649 91         </web-resource-collection>
U 92         <auth-constraint>
93             <description>nutzerProfilAuthContraint</description>
94             <role-name>nutzerProfil</role-name>
e0ec31 95         </auth-constraint>
U 96     </security-constraint>
97     <login-config>
98         <auth-method>FORM</auth-method>
99         <form-login-config>
2e9f4c 100             <form-login-page>/login_form.jsp</form-login-page>
e0ec31 101             <form-error-page>/login_error.jsp</form-error-page>
U 102         </form-login-config>
103     </login-config>
104     <security-role>
105         <description/>
106         <role-name>nutzerAdmin</role-name>
107     </security-role>
48a649 108     <security-role>
U 109         <description/>
110         <role-name>nutzerProfil</role-name>
111     </security-role>
7fb4d9 112 </web-app>