Dateiverwaltung für die WebBox
ulrich
2017-03-08 438b168cad54853a8b419e6c19e639b6d2f70bc0
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>
8446c2 10         <param-value> </param-value>
c7c502 11     </context-param>
7342b1 12     <listener>
U 13         <description>Der Initialiser setzt globale Variable fuer die Dateiverwaltung</description>
14         <listener-class>de.uhilger.filecms.web.Initialiser</listener-class>
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>
42         <servlet-class>de.uhilger.filecms.api.UploadServlet</servlet-class>
43     </servlet>
8e51b7 44     <servlet-mapping>
U 45         <servlet-name>TransitRS</servlet-name>
46         <url-pattern>/rpc/*</url-pattern>
47     </servlet-mapping>
915927 48     <servlet-mapping>
U 49         <servlet-name>Transit</servlet-name>
50         <url-pattern>/svc</url-pattern>
b7475d 51     </servlet-mapping>
U 52     <servlet-mapping>
53         <servlet-name>PublicTransit</servlet-name>
54         <url-pattern>/pub</url-pattern>
915927 55     </servlet-mapping>
7aa566 56     <servlet-mapping>
U 57         <servlet-name>UploadeServlet</servlet-name>
58         <url-pattern>/api/upload</url-pattern>
59     </servlet-mapping>
b30775 60     <session-config>
U 61         <session-timeout>
62             30
63         </session-timeout>
64     </session-config>
e5ff42 65     <welcome-file-list>
U 66         <welcome-file>index.jsp</welcome-file>
67         <welcome-file>index.html</welcome-file>
68     </welcome-file-list>
b7475d 69     <security-constraint>
U 70         <display-name>UI-Constraint</display-name>
71         <web-resource-collection>
72             <web-resource-name>UI</web-resource-name>
73             <description>Bedienoberflaeche</description>
74             <url-pattern>/ui/*</url-pattern>
75         </web-resource-collection>
76         <auth-constraint>
77             <description>UI-Auth-Constraint</description>
78             <role-name>ownFileAdmin</role-name>
79         </auth-constraint>
80     </security-constraint>
81     <security-constraint>
82         <display-name>API-Constraint</display-name>
83         <web-resource-collection>
84             <web-resource-name>API</web-resource-name>
85             <description>Programmschnittstelle</description>
a31194 86             <url-pattern>/api/*</url-pattern>
b7475d 87             <url-pattern>/rpc/*</url-pattern>
U 88             <url-pattern>/svc/*</url-pattern>
89             <url-pattern>/rpc</url-pattern>
90             <url-pattern>/svc</url-pattern>
91         </web-resource-collection>
92         <auth-constraint>
93             <description>API-Auth-Constraint</description>
94             <role-name>ownFileAdmin</role-name>
95         </auth-constraint>
96     </security-constraint>
97     <login-config>
98         <auth-method>FORM</auth-method>
99         <form-login-config>
100             <form-login-page>/login_form.html</form-login-page>
101             <form-error-page>/login_error.jsp</form-error-page>
102         </form-login-config>
103     </login-config>
104     <security-role>
105         <description/>
106         <role-name>ownFileAdmin</role-name>
107     </security-role>
b30775 108 </web-app>