forked from sanbales/openmbee-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webprotege_web.xml
76 lines (59 loc) · 2.09 KB
/
webprotege_web.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<web-app
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"
version="3.0">
<context-param>
<param-name>logbackDisableServletContainerInitializer</param-name>
<param-value>true</param-value>
</context-param>
<!-- Filters -->
<filter>
<filter-name>WebProtegeWebAppFilter</filter-name>
<filter-class>edu.stanford.bmir.protege.web.server.filter.WebProtegeWebAppFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>WebProtegeWebAppFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
<!-- Listener for initializing and disposing WebProtege -->
<listener>
<listener-class>edu.stanford.bmir.protege.web.server.app.WebProtegeServletContextListener</listener-class>
</listener>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>WebProtege.jsp</welcome-file>
</welcome-file-list>
<!-- Error pages -->
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/configuration-error.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/forbidden.jsp</location>
</error-page>
<!-- Security constraints -->
<security-constraint>
<display-name>excluded</display-name>
<web-resource-collection>
<web-resource-name>No Access</web-resource-name>
<url-pattern>/protege.properties</url-pattern>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>No Access</web-resource-name>
<url-pattern>/setup.sh</url-pattern>
</web-resource-collection>
<auth-constraint />
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<!-- increase max file upload size to 250MB from ~50MB default-->
<multipart-config>
<max-file-size>262144000</max-file-size>
<max-request-size>262144000</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
</web-app>