1 <?xml version="1.0" encoding="ISO-8859-1"?>
4 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
5 "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
17 <param-name>Config</param-name>
18 <param-value>etc/config.properties</param-value>
32 <param-name>Config</param-name>
33 <param-value>etc/config.properties</param-value>
57 <servlet-name>OpenMir</servlet-name>
58 <url-pattern>/OpenMir</url-pattern>
61 <servlet-name>OpenMir</servlet-name>
62 <url-pattern>/servlet/OpenMir</url-pattern>
78 audio/vnd.rn-realaudio
86 application/vnd.rn-realmedia
130 <security-constraint>
131 <web-resource-collection>
132 <web-resource-name>Protected Area</web-resource-name>
133 <!-- Define the context-relative URL(s) to be protected -->
134 <url-pattern>/jsp/security/protected/*</url-pattern>
135 <!-- If you list http methods, only those methods are protected -->
136 <http-method>DELETE</http-method>
137 <http-method>GET</http-method>
138 <http-method>POST</http-method>
139 <http-method>PUT</http-method>
140 </web-resource-collection>
142 <!-- Anyone with one of the listed roles may access this area -->
143 <role-name>tomcat</role-name>
144 <role-name>role1</role-name>
146 </security-constraint>
148 <!-- Default login configuration uses BASIC authentication -->
151 <auth-method>BASIC</auth-method>
152 <realm-name>Example Basic Authentication Area</realm-name>
156 <!-- Form-based login is enabled by default. If you wish to
157 try Basic authentication, comment out the <login-config>
158 section below and uncomment the one above. -->
160 <auth-method>FORM</auth-method>
161 <realm-name>Example Form-Based Authentication Area</realm-name>
163 <form-login-page>/jsp/security/login/login.jsp</form-login-page>
164 <form-error-page>/jsp/security/login/error.jsp</form-error-page>