Date: 2004-11-04T15:44:22 Editor: BrianLee <[EMAIL PROTECTED]> Wiki: Jakarta-Slide Wiki Page: WebDavConstructionKit URL: http://wiki.apache.org/jakarta-slide/WebDavConstructionKit
no comment Change Log: ------------------------------------------------------------------------------ @@ -4,13 +4,13 @@ [http://jakarta.apache.org/slide/wck/javadoc/index.html API] -Important Currently, WCK is only available from CVS. For more information on accessing Slide from CVS, check http://jakarta.apache.org/site/cvsindex.html ==== Build Notes ==== The easiest way to get everything done on any platform (downloading from CVS, buidling from ant, etc...) is to use [http://www.eclipse.org Eclipse] IDE. +WCK works for Slide 2.1 and above. ===== Full Working build.properties Example ===== @@ -95,7 +95,7 @@ commons-transaction-20041031.jar with the version you find in the 2.1b2 lib directory" -==== Store Implementation ==== +==== Basics ==== Any concrete store must implement the [http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/store/BasicWebdavStore.html org.apache.slide.simple.store.BasicWebdavStore] interface. @@ -103,19 +103,34 @@ The following functions are basically all Slide and WCK need to make basic WebDAV operations work. - 1.begin, commit, rollback: begins, commits, aborts a request / transaction + '''1.begin, commit, rollback:''' begins, commits, aborts a request / transaction - 2.objectExists, isFolder, isResource: existence checks, collection vs. content checks + '''2.objectExists, isFolder, isResource:''' existence checks, collection vs. content checks - 3.createFolder, createResource: creation of a collection or a content resource + '''3.createFolder, createResource:''' creation of a collection or a content resource - 4.removeObject: deletion of a collection or a content resource + '''4.removeObject:''' deletion of a collection or a content resource - 5.setResourceContent, getResourceContent: storing and retrieval of a content resource + '''5.setResourceContent, getResourceContent:''' storing and retrieval of a content resource - 6.getLastModified, getCreationDate, getResourceLength: retrieval of basic meta data + '''6.getLastModified, getCreationDate, getResourceLength:''' retrieval of basic meta data + + '''7.getChildrenNames:''' retrieval of the children of a collection + + +===== Important Extras ===== + +This extension interface [http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/authentication/SessionAuthenticationManager.html org.apache.slide.simple.authentication.SessionAuthenticationManager] lets your system handle security (full property access and locking) and bypass Slide's built-in system. + +You need to implement the following functions. + + '''1.getAuthenticationSession (2x one with user/password one with user only):''' asks if a certain user exists and authenticated itself correctly and if so an object that allows access to your system, i.e. a session or connection or anything similiar, is passed back; in case the user has already authenticated correctly before only the user with no password is passed + + '''2.closeAuthenticationSession:''' closes the session / terminates the connection to your system + + +[http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/authentication/AbstractPoolingConnectionManager.html org.apache.slide.simple.authentication.AbstractPoolingConnectionManager] is a connection pool framework. - 7.getChildrenNames: retrieval of the children of a collection ===== WebdavFileStore Example ===== [http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/reference/WebdavFileStore.html org.apache.slide.simple.reference.WebdavFileStore] is the reference implementation (example) that you want to look at. The source is listed below - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
