1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
5
|
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
6
|
<description>EDIT CDM Community Server</description>
|
7
|
<display-name>CDM Community Server</display-name>
|
8
|
|
9
|
<!--
|
10
|
==================================================================
|
11
|
load /WEB-INF/applicationContext.xml
|
12
|
|
13
|
org.springframework.web.context.ContextLoaderListener defaults
|
14
|
to /WEB-INF/applicationContext.xml if contextConfigLocation
|
15
|
not set
|
16
|
==================================================================
|
17
|
-->
|
18
|
<!--
|
19
|
-->
|
20
|
|
21
|
<servlet-mapping>
|
22
|
<servlet-name>default</servlet-name>
|
23
|
<url-pattern>/</url-pattern>
|
24
|
</servlet-mapping>
|
25
|
<welcome-file-list>
|
26
|
<welcome-file>index.jsp</welcome-file>
|
27
|
</welcome-file-list>
|
28
|
|
29
|
<!--
|
30
|
=== Security Settings ===
|
31
|
-->
|
32
|
<security-constraint>
|
33
|
<web-resource-collection>
|
34
|
<web-resource-name>CDM Server Management</web-resource-name>
|
35
|
<url-pattern>/manage/*</url-pattern>
|
36
|
</web-resource-collection>
|
37
|
<auth-constraint>
|
38
|
<role-name>admin</role-name>
|
39
|
</auth-constraint>
|
40
|
</security-constraint>
|
41
|
|
42
|
<login-config>
|
43
|
<auth-method>BASIC</auth-method>
|
44
|
<realm-name>CDMServer.management</realm-name>
|
45
|
</login-config>
|
46
|
|
47
|
|
48
|
|
49
|
</web-app>
|