ulrich
2017-01-07 f8b1d6531fbe86b687038b33ee3af58d5d28f025
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">
3     <display-name>Nutzerverwaltung</display-name>
314fea 4     <context-param>
U 5         <param-name>dsname</param-name>
c65695 6         <param-value>jdbc/NewUserDB</param-value>
314fea 7     </context-param>
6240cd 8     <context-param>
U 9         <param-name>digester</param-name>
10         <param-value>de.uhilger.um.TomcatDigester</param-value>
11     </context-param>
f4a79c 12     <filter>
U 13         <filter-name>NiceFilter</filter-name>
14         <filter-class>de.uhilger.um.web.NiceFilter</filter-class>
15     </filter>
16     <filter-mapping>
17         <filter-name>NiceFilter</filter-name>
18         <url-pattern>/svc/*</url-pattern>
19     </filter-mapping>
c65695 20     <listener>
51c9e3 21         <listener-class>de.uhilger.um.web.Initialiser</listener-class>
c65695 22     </listener>
f8b605 23     <servlet>
U 24         <servlet-name>TransitServlet</servlet-name>
25         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
26         <init-param>
27             <param-name>klassen</param-name>
28             <param-value>de.uhilger.um.api</param-value>
29         </init-param>
30     </servlet>
31     <servlet-mapping>
32         <servlet-name>TransitServlet</servlet-name>
33         <url-pattern>/api</url-pattern>
f4a79c 34     </servlet-mapping>
7fb4d9 35     <session-config>
U 36         <session-timeout>
37             30
38         </session-timeout>
39     </session-config>
e0ec31 40     <security-constraint>
U 41         <display-name>nutzerAdminConstraint</display-name>
42         <web-resource-collection>
43             <web-resource-name>nutzerAdmin</web-resource-name>
44             <description>Nutzer-Administration</description>
45             <url-pattern>/ui/*</url-pattern>
46         </web-resource-collection>
47         <auth-constraint>
48             <description>nutzerAdminAuthContraint</description>
49             <role-name>nutzerAdmin</role-name>
50         </auth-constraint>
51     </security-constraint>
52     <login-config>
53         <auth-method>FORM</auth-method>
54         <form-login-config>
55             <form-login-page>/login_form.html</form-login-page>
56             <form-error-page>/login_error.jsp</form-error-page>
57         </form-login-config>
58     </login-config>
59     <security-role>
60         <description/>
61         <role-name>nutzerAdmin</role-name>
62     </security-role>
7fb4d9 63 </web-app>