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