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