Commit Diff


commit - db533dd9d0293ca93a7c49383a96502b4692e05e
commit + 2d19cdcbd92d188789c4e855f957cfcda1e76427
blob - 78030165edf2e616e666cdd925ea0f97c08014e8
blob + 6ec0f295f79a7f62aad663572755129f176273e0
--- README
+++ README
@@ -39,4 +39,6 @@ TODO:
   to the compiled classes.
 - S3 ACL support
 - separate the S3 backend even further by introducing a caching system to speed up operation
+- add authentication support to the DAV server
+- add encryption support to the S3 backend for security and safety
 
blob - cb359f84671c786cc2099e749c60d1a8dd343ab7
blob + c257bcb82f250c432ec840141f165f8509dd51b5
--- modules/webdav/src/test/java/com/thinkberg/webdav/tests/DavLockManagerTest.java
+++ modules/webdav/src/test/java/com/thinkberg/webdav/tests/DavLockManagerTest.java
@@ -147,24 +147,4 @@ public class DavLockManagerTest extends DavTestCase {
     assertFalse("complex condition with bogus eTag should fail",
                 LockManager.getInstance().evaluateCondition(aFile, condition).result);
   }
-
-
-//  assertFalse(lockManager.evaluateCondition(aFile, "</resource1> (<urn:uuid:181d4fae-7d8c-11d0-a765-00a0c91e6bf2> [W/\"A weak ETag\"]) ([\"strong ETag\"])");
-//  lockManager.evaluateCondition(aFile, "(<urn:uuid:181d4fae-7d8c-11d0-a765-00a0c91e6bf2>) (Not <DAV:no-lock>)");
-//  lockManager.evaluateCondition(aFile, "(Not <urn:uuid:181d4fae-7d8c-11d0-a765-00a0c91e6bf2> <urn:uuid:58f202ac-22cf-11d1-b12d-002035b29092>)");
-//  lockManager.evaluateCondition(aFile, "</specs/rfc2518.doc> ([\"4217\"])");
-//  lockManager.evaluateCondition(aFile, "</specs/rfc2518.doc> (Not [\"4217\"])");
-//  lockManager.evaluateCondition(aFile, "(<urn:uuid:181d4fae-7d8c-11d0-a765-00a0c91e6bf2>) (Not <DAV:no-lock>) </specs/rfc2518.doc> (Not [\"4217\"])");
-//  lockManager.evaluateCondition(aFile, "(<opaquelocktoken:10a098> [10a198]) (Not <DAV:no-lock> [10a198])");
-
-//  public void testLockConditionRequiredException() {
-//    Lock sharedLock = new Lock(aFile, Lock.WRITE, Lock.SHARED, OWNER_STR, 0, 3600);
-//    try {
-//      LockManager.getInstance().acquireLock(sharedLock);
-//      LockManager.getInstance().checkCondition(aFile, null);
-//      assertTrue("checkCondition() should fail", false);
-//    } catch (Exception e) {
-//      assertEquals(LockConditionRequiredException.class, e.getClass());
-//    }
-//  }
 }