tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/admin/WEB-INF web.xml
Date Thu, 27 Jul 2000 17:56:18 GMT
costin      00/07/27 10:56:18

  Modified:    src/admin/WEB-INF web.xml
  Log:
  Added security constraint to admin, merge from 3.2 fix.
  
  Revision  Changes    Path
  1.4       +19 -0     jakarta-tomcat/src/admin/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/admin/WEB-INF/web.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- web.xml	2000/07/25 20:13:26	1.3
  +++ web.xml	2000/07/27 17:56:14	1.4
  @@ -9,6 +9,25 @@
        Tomcat Admin 
     </description>
   
  +    <security-constraint>
  +      <web-resource-collection>
  +         <web-resource-name>Protected Area</web-resource-name>
  +         <url-pattern>/contextAdmin/*</url-pattern>
  +	 <http-method>DELETE</http-method>
  +         <http-method>GET</http-method>
  +         <http-method>POST</http-method>
  +	 <http-method>PUT</http-method>
  +      </web-resource-collection>
  +      <auth-constraint>
  +         <role-name>admin</role-name>
  +      </auth-constraint>
  +    </security-constraint>
  +
  +    <login-config>
  +      <auth-method>BASIC</auth-method>
  +      <realm-name>Admin</realm-name>
  +    </login-config>
  +
     <taglib>
       <taglib-uri>http://jakarta.apache.org/taglibs/tomcat_admin-1.0</taglib-uri>
       <taglib-location>/WEB-INF/admin.tld</taglib-location>
  
  
  

Mime
View raw message