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>config</param-value>
47 <param-name>Config</param-name>
48 <param-value>config</param-value>
63 <servlet-name>OpenMir</servlet-name>
64 <url-pattern>/OpenMir</url-pattern>
68 <servlet-name>OutputMir</servlet-name>
69 <url-pattern>/OutputMir</url-pattern>
85 audio/vnd.rn-realaudio
93 application/vnd.rn-realmedia
137 <security-constraint>
138 <web-resource-collection>
139 <web-resource-name>Protected Area</web-resource-name>
140 <!-- Define the context-relative URL(s) to be protected -->
141 <url-pattern>/jsp/security/protected/*</url-pattern>
142 <!-- If you list http methods, only those methods are protected -->
143 <http-method>DELETE</http-method>
144 <http-method>GET</http-method>
145 <http-method>POST</http-method>
146 <http-method>PUT</http-method>
147 </web-resource-collection>
149 <!-- Anyone with one of the listed roles may access this area -->
150 <role-name>tomcat</role-name>
151 <role-name>role1</role-name>
153 </security-constraint>
155 <!-- Default login configuration uses BASIC authentication -->
158 <auth-method>BASIC</auth-method>
159 <realm-name>Example Basic Authentication Area</realm-name>
163 <!-- Form-based login is enabled by default. If you wish to
164 try Basic authentication, comment out the <login-config>
165 section below and uncomment the one above. -->
167 <auth-method>FORM</auth-method>
168 <realm-name>Example Form-Based Authentication Area</realm-name>
170 <form-login-page>/jsp/security/login/login.jsp</form-login-page>
171 <form-error-page>/jsp/security/login/error.jsp</form-error-page>