commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons-sandbox/configuration/src/test-cactus/testapp/WEB-INF web.xml
Date Fri, 28 Feb 2003 20:31:49 GMT
epugh       2003/02/28 12:31:48

  Added:       configuration/src/test-cactus/testapp/WEB-INF web.xml
  Log:
  web.xml with jndi values for JNDIConfiguration
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/configuration/src/test-cactus/testapp/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.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">
  
  <web-app>
  
      <filter>
          <filter-name>FilterRedirector</filter-name>
          <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
      </filter>
  
      <filter-mapping>
          <filter-name>FilterRedirector</filter-name>
          <url-pattern>/FilterRedirector</url-pattern>
      </filter-mapping>
  
  
      <servlet>
          <servlet-name>ServletRedirector</servlet-name>
          <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
      </servlet>
  
      <servlet>
          <servlet-name>ServletRedirectorSecure</servlet-name>
          <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
      </servlet>
  
      <servlet>
          <servlet-name>JspRedirector</servlet-name>
          <jsp-file>/jspRedirector.jsp</jsp-file>
      </servlet>
  
  
      <servlet-mapping>
          <servlet-name>ServletRedirector</servlet-name>
          <url-pattern>/ServletRedirector</url-pattern>
      </servlet-mapping>
  
      <servlet-mapping>
          <servlet-name>ServletRedirectorSecure</servlet-name>
          <url-pattern>/ServletRedirectorSecure</url-pattern>
      </servlet-mapping>
  
      <servlet-mapping>
          <servlet-name>JspRedirector</servlet-name>
          <url-pattern>/JspRedirector</url-pattern>
      </servlet-mapping>
  
      <security-constraint>
         <web-resource-collection>
            <web-resource-name>SecurityRestriction</web-resource-name>
             <description>Protect the Cactus redirector servlet.</description>
             <url-pattern>/ServletRedirectorSecure</url-pattern>
             <http-method>GET</http-method>
             <http-method>POST</http-method>
         </web-resource-collection>
         <auth-constraint>
             <description>Authorized Users Group</description>
             <role-name>test</role-name>
         </auth-constraint>
         <user-data-constraint>
            <transport-guarantee>NONE</transport-guarantee>
        </user-data-constraint>
       </security-constraint>
  
      <login-config>
        <auth-method>BASIC</auth-method>
      </login-config>
  
    <security-role>
      <description>Test role</description>
      <role-name>test</role-name>
    </security-role>
  
     <env-entry>
          <env-entry-name>test/short</env-entry-name>
          <env-entry-value>80</env-entry-value>
          <env-entry-type>java.lang.String</env-entry-type>
      </env-entry>
     <env-entry>
          <env-entry-name>test/key</env-entry-name>
          <env-entry-value>jndivalue</env-entry-value>
          <env-entry-type>java.lang.String</env-entry-type>
      </env-entry>
      <env-entry>
          <env-entry-name>test/key2</env-entry-name>
          <env-entry-value>jndivalue2</env-entry-value>
          <env-entry-type>java.lang.String</env-entry-type>
      </env-entry>    
  </web-app>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message