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> |
7342b1
|
12 |
<listener> |
21589e
|
13 |
<listener-class>de.uhilger.filecms.web.Initialiser</listener-class> |
7342b1
|
14 |
</listener> |
8e51b7
|
15 |
<servlet> |
U |
16 |
<servlet-name>TransitRS</servlet-name> |
|
17 |
<servlet-class>de.uhilger.transit.web.TransitServletRS</servlet-class> |
|
18 |
<init-param> |
|
19 |
<param-name>klassen</param-name> |
|
20 |
<param-value>de.uhilger.filecms.api</param-value> |
|
21 |
</init-param> |
|
22 |
</servlet> |
915927
|
23 |
<servlet> |
U |
24 |
<servlet-name>Transit</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.filecms.api</param-value> |
|
29 |
</init-param> |
|
30 |
</servlet> |
b7475d
|
31 |
<servlet> |
U |
32 |
<servlet-name>PublicTransit</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.pub</param-value> |
|
37 |
</init-param> |
|
38 |
</servlet> |
7aa566
|
39 |
<servlet> |
U |
40 |
<servlet-name>UploadeServlet</servlet-name> |
41e9f0
|
41 |
<servlet-class>de.uhilger.filecms.web.UploadServlet</servlet-class> |
7aa566
|
42 |
</servlet> |
8d15c3
|
43 |
<servlet> |
U |
44 |
<servlet-name>Feeder</servlet-name> |
|
45 |
<servlet-class>de.uhilger.filecms.web.FeedServlet</servlet-class> |
|
46 |
</servlet> |
b12c95
|
47 |
<servlet> |
U |
48 |
<servlet-name>TestServlet</servlet-name> |
|
49 |
<servlet-class>de.uhilger.filecms.web.TestServlet</servlet-class> |
|
50 |
</servlet> |
8e51b7
|
51 |
<servlet-mapping> |
U |
52 |
<servlet-name>TransitRS</servlet-name> |
|
53 |
<url-pattern>/rpc/*</url-pattern> |
|
54 |
</servlet-mapping> |
915927
|
55 |
<servlet-mapping> |
U |
56 |
<servlet-name>Transit</servlet-name> |
|
57 |
<url-pattern>/svc</url-pattern> |
b7475d
|
58 |
</servlet-mapping> |
U |
59 |
<servlet-mapping> |
|
60 |
<servlet-name>PublicTransit</servlet-name> |
|
61 |
<url-pattern>/pub</url-pattern> |
915927
|
62 |
</servlet-mapping> |
7aa566
|
63 |
<servlet-mapping> |
U |
64 |
<servlet-name>UploadeServlet</servlet-name> |
|
65 |
<url-pattern>/api/upload</url-pattern> |
|
66 |
</servlet-mapping> |
8d15c3
|
67 |
<servlet-mapping> |
U |
68 |
<servlet-name>Feeder</servlet-name> |
|
69 |
<url-pattern>/feed/*</url-pattern> |
|
70 |
</servlet-mapping> |
b12c95
|
71 |
<servlet-mapping> |
U |
72 |
<servlet-name>TestServlet</servlet-name> |
|
73 |
<url-pattern>/test/*</url-pattern> |
|
74 |
</servlet-mapping> |
b30775
|
75 |
<session-config> |
U |
76 |
<session-timeout> |
|
77 |
30 |
|
78 |
</session-timeout> |
|
79 |
</session-config> |
e5ff42
|
80 |
<welcome-file-list> |
U |
81 |
<welcome-file>index.jsp</welcome-file> |
|
82 |
<welcome-file>index.html</welcome-file> |
c9105a
|
83 |
<welcome-file>index.htmi</welcome-file> |
e5ff42
|
84 |
</welcome-file-list> |
b7475d
|
85 |
<security-constraint> |
U |
86 |
<display-name>UI-Constraint</display-name> |
|
87 |
<web-resource-collection> |
|
88 |
<web-resource-name>UI</web-resource-name> |
|
89 |
<description>Bedienoberflaeche</description> |
|
90 |
<url-pattern>/ui/*</url-pattern> |
58bcbd
|
91 |
<url-pattern>/ui2/*</url-pattern> |
b7475d
|
92 |
</web-resource-collection> |
U |
93 |
<auth-constraint> |
|
94 |
<description>UI-Auth-Constraint</description> |
|
95 |
<role-name>ownFileAdmin</role-name> |
|
96 |
</auth-constraint> |
|
97 |
</security-constraint> |
|
98 |
<security-constraint> |
|
99 |
<display-name>API-Constraint</display-name> |
|
100 |
<web-resource-collection> |
|
101 |
<web-resource-name>API</web-resource-name> |
|
102 |
<description>Programmschnittstelle</description> |
a31194
|
103 |
<url-pattern>/api/*</url-pattern> |
b7475d
|
104 |
<url-pattern>/rpc/*</url-pattern> |
U |
105 |
<url-pattern>/svc/*</url-pattern> |
|
106 |
<url-pattern>/rpc</url-pattern> |
|
107 |
<url-pattern>/svc</url-pattern> |
|
108 |
</web-resource-collection> |
|
109 |
<auth-constraint> |
|
110 |
<description>API-Auth-Constraint</description> |
|
111 |
<role-name>ownFileAdmin</role-name> |
|
112 |
</auth-constraint> |
|
113 |
</security-constraint> |
|
114 |
<login-config> |
|
115 |
<auth-method>FORM</auth-method> |
|
116 |
<form-login-config> |
|
117 |
<form-login-page>/login_form.html</form-login-page> |
|
118 |
<form-error-page>/login_error.jsp</form-error-page> |
|
119 |
</form-login-config> |
|
120 |
</login-config> |
|
121 |
<security-role> |
|
122 |
<description/> |
|
123 |
<role-name>ownFileAdmin</role-name> |
|
124 |
</security-role> |
b30775
|
125 |
</web-app> |