axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nakam...@apache.org
Subject cvs commit: xml-axis/java/prototype/TRL_Proposal/WEB-INF web.xml
Date Tue, 30 Jan 2001 07:13:28 GMT
nakamury    01/01/29 23:13:28

  Added:       java/prototype/TRL_Proposal/WEB-INF web.xml
  Log:
  web.xml for Tomcat
  
  Revision  Changes    Path
  1.1                  xml-axis/java/prototype/TRL_Proposal/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
  
  <web-app>
      <!-- Axis Servlet begin -->
      <!-- Provider -->
      <servlet>
          <servlet-name>EchoServlet</servlet-name>
          <servlet-class>org.apache.axis.transports.HttpTransportListener</servlet-class>
      </servlet>
      <servlet-mapping>
          <servlet-name>EchoServlet</servlet-name>
          <url-pattern>/EchoServlet</url-pattern>
      </servlet-mapping>
  
      <!-- Axis Servlet end -->
  
      <servlet>
        <servlet-name>
            servletToJsp
        </servlet-name>
        <servlet-class>
            servletToJsp
        </servlet-class>
      </servlet>
      <servlet-mapping>
          <servlet-name>
              snoop
          </servlet-name>
          <url-pattern>
              /snoop
          </url-pattern>
      </servlet-mapping>
      <servlet-mapping>
          <servlet-name>
              snoop
          </servlet-name>
          <url-pattern>
              *.snp
          </url-pattern>
      </servlet-mapping>
      <servlet-mapping>
          <servlet-name>
              servletToJsp
          </servlet-name>
          <url-pattern>
              /servletToJsp
          </url-pattern>
      </servlet-mapping>
  
      <taglib>
          <taglib-uri>
  	   http://java.apache.org/tomcat/examples-taglib
          </taglib-uri>
          <taglib-location>
             /WEB-INF/jsp/example-taglib.tld
          </taglib-location>
      </taglib>
  
      <security-constraint>
        <web-resource-collection>
           <web-resource-name>Protected Area</web-resource-name>
  	 <!-- Define the context-relative URL(s) to be protected -->
           <url-pattern>/jsp/security/protected/*</url-pattern>
  	 <!-- If you list http methods, only those methods are protected -->
  	 <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>
           <!-- Anyone with one of the listed roles may access this area -->
           <role-name>tomcat</role-name>
  	 <role-name>role1</role-name>
        </auth-constraint>
      </security-constraint>
  
      <!-- Default login configuration uses BASIC authentication -->
      <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>Example Basic Authentication Area</realm-name>
      </login-config>
  
      <!-- If you want to experiment with form-based logins, comment
           out the <login-config> element above and replace it with
           this one.  Note that we are currently using a nonstandard
           authentication method, because the code to support form
           based login is incomplete and only lightly tested.  -->
      <!--
      <login-config>
        <auth-method>EXPERIMENTAL_FORM</auth-method>
        <realm-name>Example Form-Based Authentication Area</realm-name>
        <form-login-config>
          <form-login-page>/jsp/security/login/login.jsp</form-login-page>
          <form-error-page>/jsp/security/login/error.jsp</form-error-page>
        </form-login-config>
      </login-config>
      -->
  
  </web-app>
  
  
  

Mime
View raw message