6 require_once
'libs/composer/vendor/autoload.php';
9 include_once
"Services/WebDAV/classes/auth/class.ilWebDAVAuthentication.php";
10 include_once
"Services/WebDAV/classes/db/class.ilWebDAVDBManager.php";
11 include_once
"Services/WebDAV/classes/class.ilWebDAVObjDAVHelper.php";
12 include_once
"Services/WebDAV/classes/class.ilWebDAVRepositoryHelper.php";
13 include_once
"Services/WebDAV/classes/browser/class.ilWebDAVSabreBrowserPlugin.php";
14 include_once
"Services/WebDAV/classes/dav/class.ilObjectDAV.php";
15 include_once
"Services/WebDAV/classes/dav/class.ilObjContainerDAV.php";
16 include_once
"Services/WebDAV/classes/dav/class.ilObjFileDAV.php";
17 include_once
"Services/WebDAV/classes/dav/class.ilObjCategoryDAV.php";
18 include_once
"Services/WebDAV/classes/dav/class.ilObjCourseDAV.php";
19 include_once
"Services/WebDAV/classes/dav/class.ilObjGroupDAV.php";
20 include_once
"Services/WebDAV/classes/dav/class.ilObjFolderDAV.php";
21 include_once
"Services/WebDAV/classes/dav/class.ilMountPointDAV.php";
22 include_once
"Services/WebDAV/classes/dav/class.ilClientNodeDAV.php";
23 include_once
"Services/WebDAV/classes/dav/class.ilObjRepositoryRootDAV.php";
74 $cal =
new Sabre\DAV\Auth\Backend\BasicCallBack(array($webdav_auth,
'authenticate'));
75 $plugin =
new Sabre\DAV\Auth\Plugin($cal);
81 $lock_plugin =
new Sabre\DAV\Locks\Plugin($lock_backend);
82 $server->addPlugin($lock_plugin);
87 $server->addPlugin($browser_plugin);
handleRequest()
For the case there might be more to handle as just running the server.
Class ilWebDAVSabreBrowserPlugin.
Class ilWebDAVAuthentication.
runWebDAVServer()
Creates and runs SabreDAV Server.
Class ilWebDAVRequestHandler.
Class ilWebDAVRepositoryHelper.
Class ilWebDAVObjDAVHelper.
getRootDir()
Return the first object to mount on WebDAV.
Class ilWebDAVLockBackend.
setPlugins($server)
Set server plugins.