commit | author | age
|
b30775
|
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 |
<description>Dateiverwaltung fuer die WebBox</description> |
|
4 |
<display-name>file-cms</display-name> |
c7c502
|
5 |
<context-param> |
cfc186
|
6 |
<description>Hier kann eine feste Pfadangabe fuer das Datenverzeichnis eingetragen werden. |
2b3e7e
|
7 |
Bleibt der Eintrag leer oder wird er ganz weggelassen, wird ein hart |
cfc186
|
8 |
kodierter Pfad fuer die WebBox verwendet.</description> |
2b3e7e
|
9 |
<param-name>datenAblage</param-name> |
e4fec9
|
10 |
<param-value> </param-value> |
c7c502
|
11 |
</context-param> |
719f73
|
12 |
<context-param> |
U |
13 |
<param-name>tiefe</param-name> |
|
14 |
<param-value>2</param-value> |
|
15 |
</context-param> |
|
16 |
<context-param> |
|
17 |
<param-name>datenOrdner</param-name> |
|
18 |
<param-value>data/</param-value> |
|
19 |
</context-param> |
7342b1
|
20 |
<listener> |
21589e
|
21 |
<listener-class>de.uhilger.filecms.web.Initialiser</listener-class> |
7342b1
|
22 |
</listener> |
8e51b7
|
23 |
<servlet> |
U |
24 |
<servlet-name>TransitRS</servlet-name> |
|
25 |
<servlet-class>de.uhilger.transit.web.TransitServletRS</servlet-class> |
|
26 |
<init-param> |
|
27 |
<param-name>klassen</param-name> |
|
28 |
<param-value>de.uhilger.filecms.api</param-value> |
|
29 |
</init-param> |
|
30 |
</servlet> |
915927
|
31 |
<servlet> |
U |
32 |
<servlet-name>Transit</servlet-name> |
|
33 |
<servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class> |
|
34 |
<init-param> |
|
35 |
<param-name>klassen</param-name> |
|
36 |
<param-value>de.uhilger.filecms.api</param-value> |
|
37 |
</init-param> |
|
38 |
</servlet> |
b7475d
|
39 |
<servlet> |
U |
40 |
<servlet-name>PublicTransit</servlet-name> |
|
41 |
<servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class> |
|
42 |
<init-param> |
|
43 |
<param-name>klassen</param-name> |
|
44 |
<param-value>de.uhilger.filecms.pub</param-value> |
|
45 |
</init-param> |
|
46 |
</servlet> |
7aa566
|
47 |
<servlet> |
U |
48 |
<servlet-name>UploadeServlet</servlet-name> |
41e9f0
|
49 |
<servlet-class>de.uhilger.filecms.web.UploadServlet</servlet-class> |
7aa566
|
50 |
</servlet> |
8d15c3
|
51 |
<servlet> |
U |
52 |
<servlet-name>Feeder</servlet-name> |
|
53 |
<servlet-class>de.uhilger.filecms.web.FeedServlet</servlet-class> |
|
54 |
</servlet> |
b12c95
|
55 |
<servlet> |
U |
56 |
<servlet-name>TestServlet</servlet-name> |
|
57 |
<servlet-class>de.uhilger.filecms.web.TestServlet</servlet-class> |
|
58 |
</servlet> |
8e51b7
|
59 |
<servlet-mapping> |
U |
60 |
<servlet-name>TransitRS</servlet-name> |
|
61 |
<url-pattern>/rpc/*</url-pattern> |
|
62 |
</servlet-mapping> |
915927
|
63 |
<servlet-mapping> |
U |
64 |
<servlet-name>Transit</servlet-name> |
|
65 |
<url-pattern>/svc</url-pattern> |
b7475d
|
66 |
</servlet-mapping> |
U |
67 |
<servlet-mapping> |
|
68 |
<servlet-name>PublicTransit</servlet-name> |
|
69 |
<url-pattern>/pub</url-pattern> |
915927
|
70 |
</servlet-mapping> |
7aa566
|
71 |
<servlet-mapping> |
U |
72 |
<servlet-name>UploadeServlet</servlet-name> |
|
73 |
<url-pattern>/api/upload</url-pattern> |
|
74 |
</servlet-mapping> |
8d15c3
|
75 |
<servlet-mapping> |
U |
76 |
<servlet-name>Feeder</servlet-name> |
|
77 |
<url-pattern>/feed/*</url-pattern> |
|
78 |
</servlet-mapping> |
b12c95
|
79 |
<servlet-mapping> |
U |
80 |
<servlet-name>TestServlet</servlet-name> |
|
81 |
<url-pattern>/test/*</url-pattern> |
|
82 |
</servlet-mapping> |
b30775
|
83 |
<session-config> |
U |
84 |
<session-timeout> |
|
85 |
30 |
|
86 |
</session-timeout> |
|
87 |
</session-config> |
e5ff42
|
88 |
<welcome-file-list> |
U |
89 |
<welcome-file>index.jsp</welcome-file> |
|
90 |
<welcome-file>index.html</welcome-file> |
c9105a
|
91 |
<welcome-file>index.htmi</welcome-file> |
e5ff42
|
92 |
</welcome-file-list> |
b7475d
|
93 |
<security-constraint> |
U |
94 |
<display-name>UI-Constraint</display-name> |
|
95 |
<web-resource-collection> |
|
96 |
<web-resource-name>UI</web-resource-name> |
|
97 |
<description>Bedienoberflaeche</description> |
|
98 |
<url-pattern>/ui/*</url-pattern> |
58bcbd
|
99 |
<url-pattern>/ui2/*</url-pattern> |
b7475d
|
100 |
</web-resource-collection> |
U |
101 |
<auth-constraint> |
|
102 |
<description>UI-Auth-Constraint</description> |
|
103 |
<role-name>ownFileAdmin</role-name> |
|
104 |
</auth-constraint> |
|
105 |
</security-constraint> |
|
106 |
<security-constraint> |
|
107 |
<display-name>API-Constraint</display-name> |
|
108 |
<web-resource-collection> |
|
109 |
<web-resource-name>API</web-resource-name> |
|
110 |
<description>Programmschnittstelle</description> |
a31194
|
111 |
<url-pattern>/api/*</url-pattern> |
b7475d
|
112 |
<url-pattern>/rpc/*</url-pattern> |
U |
113 |
<url-pattern>/svc/*</url-pattern> |
|
114 |
<url-pattern>/rpc</url-pattern> |
|
115 |
<url-pattern>/svc</url-pattern> |
|
116 |
</web-resource-collection> |
|
117 |
<auth-constraint> |
|
118 |
<description>API-Auth-Constraint</description> |
|
119 |
<role-name>ownFileAdmin</role-name> |
|
120 |
</auth-constraint> |
|
121 |
</security-constraint> |
|
122 |
<login-config> |
|
123 |
<auth-method>FORM</auth-method> |
|
124 |
<form-login-config> |
|
125 |
<form-login-page>/login_form.html</form-login-page> |
|
126 |
<form-error-page>/login_error.jsp</form-error-page> |
|
127 |
</form-login-config> |
|
128 |
</login-config> |
|
129 |
<security-role> |
|
130 |
<description/> |
|
131 |
<role-name>ownFileAdmin</role-name> |
|
132 |
</security-role> |
b30775
|
133 |
</web-app> |