ulrich
2017-02-10 70a614a0d43b3a8a614e751df442aac1900aedba
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>
11         <param-value>de.uhilger.um.TomcatDigester</param-value>
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>
f8b605 40     <servlet-mapping>
U 41         <servlet-name>TransitServlet</servlet-name>
42         <url-pattern>/api</url-pattern>
f4a79c 43     </servlet-mapping>
70a614 44     <servlet-mapping>
U 45         <servlet-name>PublicTransit</servlet-name>
46         <url-pattern>/pub</url-pattern>
47     </servlet-mapping>
7fb4d9 48     <session-config>
U 49         <session-timeout>
50             30
51         </session-timeout>
52     </session-config>
e0ec31 53     <security-constraint>
U 54         <display-name>nutzerAdminConstraint</display-name>
55         <web-resource-collection>
56             <web-resource-name>nutzerAdmin</web-resource-name>
57             <description>Nutzer-Administration</description>
58             <url-pattern>/ui/*</url-pattern>
57c58d 59             <url-pattern>/svc/*</url-pattern>
U 60             <url-pattern>/api/*</url-pattern>
e0ec31 61         </web-resource-collection>
U 62         <auth-constraint>
63             <description>nutzerAdminAuthContraint</description>
64             <role-name>nutzerAdmin</role-name>
65         </auth-constraint>
66     </security-constraint>
67     <login-config>
68         <auth-method>FORM</auth-method>
69         <form-login-config>
70             <form-login-page>/login_form.html</form-login-page>
71             <form-error-page>/login_error.jsp</form-error-page>
72         </form-login-config>
73     </login-config>
74     <security-role>
75         <description/>
76         <role-name>nutzerAdmin</role-name>
77     </security-role>
7fb4d9 78 </web-app>