You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@locus.apache.org on 2000/12/06 01:26:40 UTC

cvs commit: jakarta-slide/src/conf/webapp web.xml

remm        00/12/05 16:26:40

  Modified:    src/conf/webapp web.xml
  Log:
  - Fix DTD related problems.
  
  Revision  Changes    Path
  1.4       +45 -58    jakarta-slide/src/conf/webapp/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/conf/webapp/web.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- web.xml	2000/10/08 22:49:27	1.3
  +++ web.xml	2000/12/06 00:26:39	1.4
  @@ -26,64 +26,6 @@
       <load-on-startup>1</load-on-startup>
     </servlet>
   
  -  <!-- Authetication for the WebDAV servlet -->
  -
  -  <!-- Uncomment this to get authentication -->
  -
  -  <!--security-constraint>
  -    <auth-constraint>
  -      <role-name>root</role-name>
  -      <role-name>guest</role-name>
  -    </auth-constraint>
  -    <web-resource-collection>
  -      <web-resource-name>DAV resource</web-resource-name>
  -      <http-method>COPY</http-method>
  -      <http-method>DELETE</http-method>
  -      <http-method>GET</http-method>
  -      <http-method>HEAD</http-method>
  -      <http-method>LOCK</http-method>
  -      <http-method>MKCOL</http-method>
  -      <http-method>MOVE</http-method>
  -      <http-method>OPTIONS</http-method>
  -      <http-method>POST</http-method>
  -      <http-method>PROPFIND</http-method>
  -      <http-method>PROPPATCH</http-method>
  -      <http-method>PUT</http-method>
  -      <http-method>UNLOCK</http-method>
  -      <url-pattern>/*</url-pattern>
  -    </web-resource-collection>
  -  </security-constraint>
  -
  -  <login-config>
  -    <auth-method>BASIC</auth-method>
  -    <realm-name>Catalina DAV Server</realm-name>
  -    <login-page>/login.html</login-page>
  -    <error-page>/error.html</error-page>
  -  </login-config-->
  -
  -  <!-- Authetication for the Manager servlet -->
  -
  -  <!-- Uncomment this to get authentication -->
  -
  -  <!--security-constraint>
  -    <auth-constraint>
  -      <role-name>root</role-name>
  -    </auth-constraint>
  -    <web-resource-collection>
  -      <web-resource-name>Manager</web-resource-name>
  -      <http-method>GET</http-method>
  -      <http-method>POST</http-method>
  -      <url-pattern>/manager/*</url-pattern>
  -    </web-resource-collection>
  -  </security-constraint>
  -
  -  <login-config>
  -    <auth-method>BASIC</auth-method>
  -    <realm-name>Catalina DAV Server</realm-name>
  -    <login-page>/login.html</login-page>
  -    <error-page>/error.html</error-page>
  -  </login-config-->
  -
     <!-- The mapping for the Slide WebDAV servlet -->
     <servlet-mapping>
       <servlet-name>webdav</servlet-name>
  @@ -441,5 +383,50 @@
       <welcome-file>index.html</welcome-file>
       <welcome-file>index.htm</welcome-file>
     </welcome-file-list>
  +
  +  <!-- Authetication for the WebDAV servlet -->
  +
  +  <!-- Uncomment this to get authentication -->
  +
  +  <!--security-constraint>
  +    <web-resource-collection>
  +      <web-resource-name>DAV resource</web-resource-name>
  +      <url-pattern>/*</url-pattern>
  +      <http-method>COPY</http-method>
  +      <http-method>DELETE</http-method>
  +      <http-method>GET</http-method>
  +      <http-method>HEAD</http-method>
  +      <http-method>LOCK</http-method>
  +      <http-method>MKCOL</http-method>
  +      <http-method>MOVE</http-method>
  +      <http-method>OPTIONS</http-method>
  +      <http-method>POST</http-method>
  +      <http-method>PROPFIND</http-method>
  +      <http-method>PROPPATCH</http-method>
  +      <http-method>PUT</http-method>
  +      <http-method>UNLOCK</http-method>
  +    </web-resource-collection>
  +    <auth-constraint>
  +      <role-name>root</role-name>
  +      <role-name>guest</role-name>
  +    </auth-constraint>
  +  </security-constraint>
  +
  +  <security-constraint>
  +    <web-resource-collection>
  +      <web-resource-name>Manager</web-resource-name>
  +      <url-pattern>/manager/*</url-pattern>
  +      <http-method>GET</http-method>
  +      <http-method>POST</http-method>
  +    </web-resource-collection>
  +    <auth-constraint>
  +      <role-name>root</role-name>
  +    </auth-constraint>
  +  </security-constraint>
  +
  +  <login-config>
  +    <auth-method>BASIC</auth-method>
  +    <realm-name>Slide DAV Server</realm-name>
  +  </login-config-->
   
   </web-app>