Dateiverwaltung für die WebBox
ulrich
2017-02-20 2121ccd4015d7c0dc81485fcaf8655bde28ea396
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>
2121cc 9     <filter>
U 10         <description>Inhalte ausgeben</description>
11         <filter-name>HomeFilter</filter-name>
12         <filter-class>de.uhilger.filecms.web.HomeFilter</filter-class>
13     </filter>
14     <filter-mapping>
15         <filter-name>HomeFilter</filter-name>
16         <url-pattern>/home/*</url-pattern>
17     </filter-mapping>
7342b1 18     <listener>
U 19         <description>Der Initialiser setzt globale Variable fuer die Dateiverwaltung</description>
20         <listener-class>de.uhilger.filecms.web.Initialiser</listener-class>
21     </listener>
8e51b7 22     <servlet>
U 23         <servlet-name>TransitRS</servlet-name>
24         <servlet-class>de.uhilger.transit.web.TransitServletRS</servlet-class>
25         <init-param>
26             <param-name>klassen</param-name>
27             <param-value>de.uhilger.filecms.api</param-value>
28         </init-param>
29     </servlet>
915927 30     <servlet>
U 31         <servlet-name>Transit</servlet-name>
32         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
33         <init-param>
34             <param-name>klassen</param-name>
35             <param-value>de.uhilger.filecms.api</param-value>
36         </init-param>
37     </servlet>
b7475d 38     <servlet>
U 39         <servlet-name>PublicTransit</servlet-name>
40         <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
41         <init-param>
42             <param-name>klassen</param-name>
43             <param-value>de.uhilger.filecms.pub</param-value>
44         </init-param>
45     </servlet>
8e51b7 46     <servlet-mapping>
U 47         <servlet-name>TransitRS</servlet-name>
48         <url-pattern>/rpc/*</url-pattern>
49     </servlet-mapping>
915927 50     <servlet-mapping>
U 51         <servlet-name>Transit</servlet-name>
52         <url-pattern>/svc</url-pattern>
b7475d 53     </servlet-mapping>
U 54     <servlet-mapping>
55         <servlet-name>PublicTransit</servlet-name>
56         <url-pattern>/pub</url-pattern>
915927 57     </servlet-mapping>
b30775 58     <session-config>
U 59         <session-timeout>
60             30
61         </session-timeout>
62     </session-config>
e5ff42 63     <welcome-file-list>
U 64         <welcome-file>index.jsp</welcome-file>
65         <welcome-file>index.html</welcome-file>
66     </welcome-file-list>
b7475d 67     <security-constraint>
U 68         <display-name>UI-Constraint</display-name>
69         <web-resource-collection>
70             <web-resource-name>UI</web-resource-name>
71             <description>Bedienoberflaeche</description>
72             <url-pattern>/ui/*</url-pattern>
73         </web-resource-collection>
74         <auth-constraint>
75             <description>UI-Auth-Constraint</description>
76             <role-name>ownFileAdmin</role-name>
77         </auth-constraint>
78     </security-constraint>
79     <security-constraint>
80         <display-name>API-Constraint</display-name>
81         <web-resource-collection>
82             <web-resource-name>API</web-resource-name>
83             <description>Programmschnittstelle</description>
84             <url-pattern>/rpc/*</url-pattern>
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>