Dateiverwaltung für die WebBox
ulrich
2017-02-27 305573a68785ff329bc0f3c9b28ba738bcb58e46
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>
U 6         <param-name>fileBase</param-name>
8e51b7 7         <param-value>daten</param-value>
c7c502 8     </context-param>
7342b1 9     <listener>
U 10         <description>Der Initialiser setzt globale Variable fuer die Dateiverwaltung</description>
11         <listener-class>de.uhilger.filecms.web.Initialiser</listener-class>
12     </listener>
8e51b7 13     <servlet>
U 14         <servlet-name>TransitRS</servlet-name>
15         <servlet-class>de.uhilger.transit.web.TransitServletRS</servlet-class>
16         <init-param>
17             <param-name>klassen</param-name>
18             <param-value>de.uhilger.filecms.api</param-value>
19         </init-param>
20     </servlet>
915927 21     <servlet>
U 22         <servlet-name>Transit</servlet-name>
23         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
24         <init-param>
25             <param-name>klassen</param-name>
26             <param-value>de.uhilger.filecms.api</param-value>
27         </init-param>
28     </servlet>
b7475d 29     <servlet>
U 30         <servlet-name>PublicTransit</servlet-name>
31         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
32         <init-param>
33             <param-name>klassen</param-name>
34             <param-value>de.uhilger.filecms.pub</param-value>
35         </init-param>
36     </servlet>
7aa566 37     <servlet>
U 38         <servlet-name>UploadeServlet</servlet-name>
39         <servlet-class>de.uhilger.filecms.api.UploadServlet</servlet-class>
40     </servlet>
8e51b7 41     <servlet-mapping>
U 42         <servlet-name>TransitRS</servlet-name>
43         <url-pattern>/rpc/*</url-pattern>
44     </servlet-mapping>
915927 45     <servlet-mapping>
U 46         <servlet-name>Transit</servlet-name>
47         <url-pattern>/svc</url-pattern>
b7475d 48     </servlet-mapping>
U 49     <servlet-mapping>
50         <servlet-name>PublicTransit</servlet-name>
51         <url-pattern>/pub</url-pattern>
915927 52     </servlet-mapping>
7aa566 53     <servlet-mapping>
U 54         <servlet-name>UploadeServlet</servlet-name>
55         <url-pattern>/api/upload</url-pattern>
56     </servlet-mapping>
b30775 57     <session-config>
U 58         <session-timeout>
59             30
60         </session-timeout>
61     </session-config>
e5ff42 62     <welcome-file-list>
U 63         <welcome-file>index.jsp</welcome-file>
64         <welcome-file>index.html</welcome-file>
65     </welcome-file-list>
b7475d 66     <security-constraint>
U 67         <display-name>UI-Constraint</display-name>
68         <web-resource-collection>
69             <web-resource-name>UI</web-resource-name>
70             <description>Bedienoberflaeche</description>
71             <url-pattern>/ui/*</url-pattern>
72         </web-resource-collection>
73         <auth-constraint>
74             <description>UI-Auth-Constraint</description>
75             <role-name>ownFileAdmin</role-name>
76         </auth-constraint>
77     </security-constraint>
78     <security-constraint>
79         <display-name>API-Constraint</display-name>
80         <web-resource-collection>
81             <web-resource-name>API</web-resource-name>
82             <description>Programmschnittstelle</description>
a31194 83             <url-pattern>/api/*</url-pattern>
b7475d 84             <url-pattern>/rpc/*</url-pattern>
U 85             <url-pattern>/svc/*</url-pattern>
86             <url-pattern>/rpc</url-pattern>
87             <url-pattern>/svc</url-pattern>
88         </web-resource-collection>
89         <auth-constraint>
90             <description>API-Auth-Constraint</description>
91             <role-name>ownFileAdmin</role-name>
92         </auth-constraint>
93     </security-constraint>
94     <login-config>
95         <auth-method>FORM</auth-method>
96         <form-login-config>
97             <form-login-page>/login_form.html</form-login-page>
98             <form-error-page>/login_error.jsp</form-error-page>
99         </form-login-config>
100     </login-config>
101     <security-role>
102         <description/>
103         <role-name>ownFileAdmin</role-name>
104     </security-role>
b30775 105 </web-app>