| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <xweb xpath="/web-app" |
| unless="comment()[contains(., 'Authentication for the Slide WebDAV servlet')]" |
| insert-after="mime-mapping"> |
| |
| <!-- Authentication for the Slide WebDAV servlet --> |
| <!-- |
| <security-constraint> |
| <web-resource-collection> |
| <web-resource-name>DAV resource</web-resource-name> |
| <url-pattern>/webdav/*</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> |
| <http-method>VERSION-CONTROL</http-method> |
| <http-method>REPORT</http-method> |
| <http-method>CHECKIN</http-method> |
| <http-method>CHECKOUT</http-method> |
| <http-method>UNCHECKOUT</http-method> |
| <http-method>MKWORKSPACE</http-method> |
| <http-method>UPDATE</http-method> |
| <http-method>LABEL</http-method> |
| <http-method>MERGE</http-method> |
| <http-method>BASELINE-CONTROL</http-method> |
| <http-method>MKACTIVITY</http-method> |
| <http-method>ACL</http-method> |
| <http-method>SEARCH</http-method> |
| <http-method>BIND</http-method> |
| <http-method>UNBIND</http-method> |
| <http-method>REBIND</http-method> |
| </web-resource-collection> |
| <auth-constraint> |
| <role-name>root</role-name> |
| <role-name>guest</role-name> |
| <role-name>user</role-name> |
| </auth-constraint> |
| </security-constraint> |
| <login-config> |
| <auth-method>BASIC</auth-method> |
| <realm-name>Slide DAV Server</realm-name> |
| </login-config> |
| <security-role> |
| <role-name>root</role-name> |
| </security-role> |
| <security-role> |
| <role-name>guest</role-name> |
| </security-role> |
| <security-role> |
| <role-name>user</role-name> |
| </security-role> |
| --> |
| |
| </xweb> |