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>
75 http://java.apache.org/tomcat/examples-taglib
78 /WEB-INF/jsp/example-taglib.tld
83 <web-resource-collection>
84 <web-resource-name>Protected Area</web-resource-name>
85 <!-- Define the context-relative URL(s) to be protected -->
86 <url-pattern>/jsp/security/protected/*</url-pattern>
87 <!-- If you list http methods, only those methods are protected -->
88 <http-method>DELETE</http-method>
89 <http-method>GET</http-method>
90 <http-method>POST</http-method>
91 <http-method>PUT</http-method>
92 </web-resource-collection>
94 <!-- Anyone with one of the listed roles may access this area -->
95 <role-name>tomcat</role-name>
96 <role-name>role1</role-name>
98 </security-constraint>
100 <!-- Default login configuration uses BASIC authentication -->
103 <auth-method>BASIC</auth-method>
104 <realm-name>Example Basic Authentication Area</realm-name>
108 <!-- Form-based login is enabled by default. If you wish to
109 try Basic authentication, comment out the <login-config>
110 section below and uncomment the one above. -->
112 <auth-method>FORM</auth-method>
113 <realm-name>Example Form-Based Authentication Area</realm-name>
115 <form-login-page>/jsp/security/login/login.jsp</form-login-page>
116 <form-error-page>/jsp/security/login/error.jsp</form-error-page>