Removed commented code
authorChristos V. Stathis <chstath@ebs.gr>
Thu, 24 Feb 2011 14:44:34 +0000 (16:44 +0200)
committerChristos V. Stathis <chstath@ebs.gr>
Thu, 24 Feb 2011 14:44:34 +0000 (16:44 +0200)
webdav/WEB-INF/web.xml

index 4d1e165..462b205 100644 (file)
         <servlet-name>milton_webdav</servlet-name>
         <url-pattern>/*</url-pattern>
     </servlet-mapping>
-    <!--                       
-    <servlet>
-        <servlet-name>springDispatcher</servlet-name>
-        <servlet-class>com.bradmcevoy.http.DavEnabledDispatcherServlet</servlet-class>
-        <load-on-startup>1</load-on-startup>
-    </servlet>
-    
-    <servlet-mapping>
-        <servlet-name>springDispatcher</servlet-name>
-        <url-pattern>/*</url-pattern>
-    </servlet-mapping>
-
-    <servlet-mapping>
-        <servlet-name>springDispatcher</servlet-name>
-        <url-pattern>/miltonController</url-pattern>
-    </servlet-mapping>
-     -->
-     <!-- 
-     <security-constraint>
-               
-                       <web-resource-collection>
-                               <web-resource-name>GSS</web-resource-name>
-                               <description>GSS WebDAV</description>
-                               <url-pattern>/</url-pattern>
-                               <http-method>HEAD</http-method>
-                               <http-method>GET</http-method>
-                               <http-method>POST</http-method>
-                               <http-method>PUT</http-method>
-                               <http-method>DELETE</http-method>
-                               <http-method>PROPFIND</http-method>
-                               <http-method>PROPPATCH</http-method>
-                               <http-method>MKCOL</http-method>
-                               <http-method>COPY</http-method>
-                               <http-method>MOVE</http-method>
-                               <http-method>LOCK</http-method>
-                               <http-method>UNLOCK</http-method>
-                       </web-resource-collection>
-                       <auth-constraint>
-                               <role-name>simpleUser</role-name>
-                       </auth-constraint>
-                       <user-data-constraint>
-                               <description>no description</description>
-                               <transport-guarantee>NONE</transport-guarantee>
-                       </user-data-constraint>
-               </security-constraint>
-               
-               <security-constraint>
-                -->
-               <!-- Protect everything for every other path 
-                       <web-resource-collection>
-                               <web-resource-name>GSS</web-resource-name>
-                               <description>GSS WebDAV</description>
-                               <url-pattern>/*</url-pattern>
-                       </web-resource-collection>
-                       <auth-constraint>
-                               <role-name>simpleUser</role-name>
-                       </auth-constraint>
-                       <user-data-constraint>
-                               <description>no description</description>
-                               <transport-guarantee>NONE</transport-guarantee>
-                       </user-data-constraint>
-               </security-constraint>
-               
-               <login-config>
-                       <auth-method>DIGEST</auth-method>
-                       <realm-name>Pithos WebDAV</realm-name>
-               </login-config>
-
-               <security-role>
-                       <description>A plain WebDAV user</description>
-                       <role-name>simpleUser</role-name>
-               </security-role>
-               -->
 </web-app>