Skip to end of metadata
Go to start of metadata

ModeShape offers a WebDAV service which allows any WebDAV compliant clients to interact with the repository, mainly around managing files and folders. Although this represents a relatively small subset of the repository's capabilities, it may prove useful in certain situations.


Depending on whether you want to use the WebDAV service in the JBoss Application Server or another web server, there are 2 different options:


To embed the WebDAV service in your own application, you need to use the modeshape-web-jcr-webdav-war artifact which comes pre-packaged with all the default dependencies (including ModeShape). The easiest way to use & customize this is to first add the artifact as a dependency in your project:

after which you need to overwrite (overlay) your own web.xml, repository configuration and optional additional dependencies. The former is the most important as it contains a reference towards your own custom repository configuration:

Maven automatically overlays dependencies of type war, so all you need to do is make sure your project structure contains the correct paths: src/main/resource and src/main/webapp/WEB-INF/web.xml.

See also our examples for such a configuration.

JBoss Wildfly

Once installed into Wildfly, the ModeShape Wildfly kit provides the WebDAV service out-of-the-box, via a web application named modeshape-webdav.war. This application is configured by default via the standalone-modeshape.xml server configuration file and allows access to all the repositories configured & deployed via Wildfly.

See also Using Repositories with WebDAV in Wildfly

By default, both web applications use Basic HTTP Authentication and require a role named connect to be present in the authenticated user's set of roles.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.