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>config</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
141 http://java.apache.org/tomcat/examples-taglib
144 /WEB-INF/jsp/example-taglib.tld
148 <security-constraint>
149 <web-resource-collection>
150 <web-resource-name>Protected Area</web-resource-name>
151 <!-- Define the context-relative URL(s) to be protected -->
152 <url-pattern>/jsp/security/protected/*</url-pattern>
153 <!-- If you list http methods, only those methods are protected -->
154 <http-method>DELETE</http-method>
155 <http-method>GET</http-method>
156 <http-method>POST</http-method>
157 <http-method>PUT</http-method>
158 </web-resource-collection>
160 <!-- Anyone with one of the listed roles may access this area -->
161 <role-name>tomcat</role-name>
162 <role-name>role1</role-name>
164 </security-constraint>
166 <!-- Default login configuration uses BASIC authentication -->
169 <auth-method>BASIC</auth-method>
170 <realm-name>Example Basic Authentication Area</realm-name>
174 <!-- Form-based login is enabled by default. If you wish to
175 try Basic authentication, comment out the <login-config>
176 section below and uncomment the one above. -->
178 <auth-method>FORM</auth-method>
179 <realm-name>Example Form-Based Authentication Area</realm-name>
181 <form-login-page>/jsp/security/login/login.jsp</form-login-page>
182 <form-error-page>/jsp/security/login/error.jsp</form-error-page>