ulrich
2017-01-31 54bbae3b0cdf11bb776ba7360fba2f690d6cfd50
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>
32     <servlet-mapping>
33         <servlet-name>TransitServlet</servlet-name>
34         <url-pattern>/api</url-pattern>
f4a79c 35     </servlet-mapping>
7fb4d9 36     <session-config>
U 37         <session-timeout>
38             30
39         </session-timeout>
40     </session-config>
e0ec31 41     <security-constraint>
U 42         <display-name>nutzerAdminConstraint</display-name>
43         <web-resource-collection>
44             <web-resource-name>nutzerAdmin</web-resource-name>
45             <description>Nutzer-Administration</description>
46             <url-pattern>/ui/*</url-pattern>
57c58d 47             <url-pattern>/svc/*</url-pattern>
U 48             <url-pattern>/api/*</url-pattern>
e0ec31 49         </web-resource-collection>
U 50         <auth-constraint>
51             <description>nutzerAdminAuthContraint</description>
52             <role-name>nutzerAdmin</role-name>
53         </auth-constraint>
54     </security-constraint>
55     <login-config>
56         <auth-method>FORM</auth-method>
57         <form-login-config>
58             <form-login-page>/login_form.html</form-login-page>
59             <form-error-page>/login_error.jsp</form-error-page>
60         </form-login-config>
61     </login-config>
62     <security-role>
63         <description/>
64         <role-name>nutzerAdmin</role-name>
65     </security-role>
7fb4d9 66 </web-app>