Dateiverwaltung für die WebBox
ulrich
2020-11-17 f59dcede93351149bb5ff99c9310f467efd0d660
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?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>Dateiverwaltung fuer die WebBox</description>
    <display-name>file-cms</display-name>
    <context-param>
        <description>Hier kann eine feste Pfadangabe fuer das Datenverzeichnis eingetragen werden. 
          Bleibt der Eintrag leer oder wird er ganz weggelassen, wird ein hart 
          kodierter Pfad fuer die WebBox verwendet.</description>
        <param-name>datenAblage</param-name>
        <param-value> </param-value>
    </context-param>
    <listener>
        <listener-class>de.uhilger.filecms.web.Initialiser</listener-class>
    </listener>
    <servlet>
        <servlet-name>TransitRS</servlet-name>
        <servlet-class>de.uhilger.transit.web.TransitServletRS</servlet-class>
        <init-param>
            <param-name>klassen</param-name>
            <param-value>de.uhilger.filecms.api</param-value>
        </init-param>
    </servlet>
    <servlet>
        <servlet-name>Transit</servlet-name>
        <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
        <init-param>
            <param-name>klassen</param-name>
            <param-value>de.uhilger.filecms.api</param-value>
        </init-param>
    </servlet>
    <servlet>
        <servlet-name>PublicTransit</servlet-name>
        <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
        <init-param>
            <param-name>klassen</param-name>
            <param-value>de.uhilger.filecms.pub</param-value>
        </init-param>
    </servlet>
    <servlet>
        <servlet-name>UploadeServlet</servlet-name>
        <servlet-class>de.uhilger.filecms.web.UploadServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>Feeder</servlet-name>
        <servlet-class>de.uhilger.filecms.web.FeedServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>TestServlet</servlet-name>
        <servlet-class>de.uhilger.filecms.web.TestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>TransitRS</servlet-name>
        <url-pattern>/rpc/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Transit</servlet-name>
        <url-pattern>/svc</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>PublicTransit</servlet-name>
        <url-pattern>/pub</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>UploadeServlet</servlet-name>
        <url-pattern>/api/upload</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Feeder</servlet-name>
        <url-pattern>/feed/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestServlet</servlet-name>
        <url-pattern>/test/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htmi</welcome-file>
    </welcome-file-list>
    <security-constraint>
        <display-name>UI-Constraint</display-name>
        <web-resource-collection>
            <web-resource-name>UI</web-resource-name>
            <description>Bedienoberflaeche</description>
            <url-pattern>/ui/*</url-pattern>
            <url-pattern>/ui2/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <description>UI-Auth-Constraint</description>
            <role-name>ownFileAdmin</role-name>
        </auth-constraint>
    </security-constraint>
    <security-constraint>
        <display-name>API-Constraint</display-name>
        <web-resource-collection>
            <web-resource-name>API</web-resource-name>
            <description>Programmschnittstelle</description>
            <url-pattern>/api/*</url-pattern>
            <url-pattern>/rpc/*</url-pattern>
            <url-pattern>/svc/*</url-pattern>
            <url-pattern>/rpc</url-pattern>
            <url-pattern>/svc</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <description>API-Auth-Constraint</description>
            <role-name>ownFileAdmin</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>ownFileAdmin</role-name>
    </security-role>
</web-app>