Dateiverwaltung für die WebBox
ulrich
2018-04-03 af99308ac8192fd47be8f6ec030f973a0bf23072
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>
92         </web-resource-collection>
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>