Dateiverwaltung für die WebBox
ulrich
2017-02-22 28b4d2d281f882c315e68e66c6718f72d26f4564
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>
8e51b7 37     <servlet-mapping>
U 38         <servlet-name>TransitRS</servlet-name>
39         <url-pattern>/rpc/*</url-pattern>
40     </servlet-mapping>
915927 41     <servlet-mapping>
U 42         <servlet-name>Transit</servlet-name>
43         <url-pattern>/svc</url-pattern>
b7475d 44     </servlet-mapping>
U 45     <servlet-mapping>
46         <servlet-name>PublicTransit</servlet-name>
47         <url-pattern>/pub</url-pattern>
915927 48     </servlet-mapping>
b30775 49     <session-config>
U 50         <session-timeout>
51             30
52         </session-timeout>
53     </session-config>
e5ff42 54     <welcome-file-list>
U 55         <welcome-file>index.jsp</welcome-file>
56         <welcome-file>index.html</welcome-file>
57     </welcome-file-list>
b7475d 58     <security-constraint>
U 59         <display-name>UI-Constraint</display-name>
60         <web-resource-collection>
61             <web-resource-name>UI</web-resource-name>
62             <description>Bedienoberflaeche</description>
63             <url-pattern>/ui/*</url-pattern>
64         </web-resource-collection>
65         <auth-constraint>
66             <description>UI-Auth-Constraint</description>
67             <role-name>ownFileAdmin</role-name>
68         </auth-constraint>
69     </security-constraint>
70     <security-constraint>
71         <display-name>API-Constraint</display-name>
72         <web-resource-collection>
73             <web-resource-name>API</web-resource-name>
74             <description>Programmschnittstelle</description>
75             <url-pattern>/rpc/*</url-pattern>
76             <url-pattern>/svc/*</url-pattern>
77             <url-pattern>/rpc</url-pattern>
78             <url-pattern>/svc</url-pattern>
79         </web-resource-collection>
80         <auth-constraint>
81             <description>API-Auth-Constraint</description>
82             <role-name>ownFileAdmin</role-name>
83         </auth-constraint>
84     </security-constraint>
85     <login-config>
86         <auth-method>FORM</auth-method>
87         <form-login-config>
88             <form-login-page>/login_form.html</form-login-page>
89             <form-error-page>/login_error.jsp</form-error-page>
90         </form-login-config>
91     </login-config>
92     <security-role>
93         <description/>
94         <role-name>ownFileAdmin</role-name>
95     </security-role>
b30775 96 </web-app>