Project

General

Profile

« Previous | Next » 

Revision 2dbf7d4f

Added by Andreas Kohlbecker about 13 years ago

admin pages secured

View differences:

src/main/webapp/WEB-INF/web.xml
6 6
    <description>EDIT CDM Community Server</description>
7 7
    <display-name>CDM Community Server</display-name>
8 8

  
9
	<!-- ==================================================================
9
	<!-- 
10
	     ==================================================================
10 11
   		  load /WEB-INF/applicationContext.xml
11 12
   		  
12 13
   		  org.springframework.web.context.ContextLoaderListener defaults 
13 14
   		  to /WEB-INF/applicationContext.xml if contextConfigLocation 
14 15
   		  not set
15
    	 ================================================================== -->
16
    	 ================================================================== 
17
     -->
16 18
    <!-- 
17 19
     -->
18 20
 
......
23 25
    <welcome-file-list>
24 26
        <welcome-file>index.jsp</welcome-file>
25 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>/index.jsp</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
    
26 48
     
27 49
</web-app>

Also available in: Unified diff