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> |
e0ec31
|
65 |
<security-constraint> |
U |
66 |
<display-name>nutzerAdminConstraint</display-name> |
|
67 |
<web-resource-collection> |
|
68 |
<web-resource-name>nutzerAdmin</web-resource-name> |
|
69 |
<description>Nutzer-Administration</description> |
|
70 |
<url-pattern>/ui/*</url-pattern> |
57c58d
|
71 |
<url-pattern>/svc/*</url-pattern> |
U |
72 |
<url-pattern>/api/*</url-pattern> |
e0ec31
|
73 |
</web-resource-collection> |
U |
74 |
<auth-constraint> |
|
75 |
<description>nutzerAdminAuthContraint</description> |
|
76 |
<role-name>nutzerAdmin</role-name> |
48a649
|
77 |
</auth-constraint> |
U |
78 |
</security-constraint> |
|
79 |
<security-constraint> |
|
80 |
<display-name>nutzerProfilConstraint</display-name> |
|
81 |
<web-resource-collection> |
|
82 |
<web-resource-name>nutzerProfil</web-resource-name> |
|
83 |
<description>Nutzerprofil</description> |
|
84 |
<url-pattern>/prf/*</url-pattern> |
|
85 |
<url-pattern>/profil/*</url-pattern> |
|
86 |
</web-resource-collection> |
|
87 |
<auth-constraint> |
|
88 |
<description>nutzerProfilAuthContraint</description> |
|
89 |
<role-name>nutzerProfil</role-name> |
e0ec31
|
90 |
</auth-constraint> |
U |
91 |
</security-constraint> |
|
92 |
<login-config> |
|
93 |
<auth-method>FORM</auth-method> |
|
94 |
<form-login-config> |
|
95 |
<form-login-page>/login_form.html</form-login-page> |
|
96 |
<form-error-page>/login_error.jsp</form-error-page> |
|
97 |
</form-login-config> |
|
98 |
</login-config> |
|
99 |
<security-role> |
|
100 |
<description/> |
|
101 |
<role-name>nutzerAdmin</role-name> |
|
102 |
</security-role> |
48a649
|
103 |
<security-role> |
U |
104 |
<description/> |
|
105 |
<role-name>nutzerProfil</role-name> |
|
106 |
</security-role> |
7fb4d9
|
107 |
</web-app> |