From d5f395eb44800ded4bd650b85311d67e6bc15289 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Tue, 13 Jun 2017 12:12:52 +0200 Subject: [PATCH] Updated cryptofs --- pom.xml | 2 +- src/main/java/org/cryptomator/cli/CryptomatorCli.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a070fc3..d5512e7 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 1.8 1.3.1 - 1.1.0 + 1.3.1 0.4.0 UTF-8 diff --git a/src/main/java/org/cryptomator/cli/CryptomatorCli.java b/src/main/java/org/cryptomator/cli/CryptomatorCli.java index a59a85a..76ec3df 100644 --- a/src/main/java/org/cryptomator/cli/CryptomatorCli.java +++ b/src/main/java/org/cryptomator/cli/CryptomatorCli.java @@ -17,6 +17,7 @@ import org.cryptomator.cryptofs.CryptoFileSystemProperties; import org.cryptomator.cryptofs.CryptoFileSystemProvider; import org.cryptomator.frontend.webdav.WebDavServer; +import org.cryptomator.frontend.webdav.servlet.WebDavServletController; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -69,7 +70,8 @@ private static void startup(Args args) throws IOException { String vaultPassword = args.getVaultPassword(vaultName); CryptoFileSystemProperties properties = CryptoFileSystemProperties.cryptoFileSystemProperties().withPassphrase(vaultPassword).build(); Path vaultRoot = CryptoFileSystemProvider.newFileSystem(vaultPath, properties).getPath("/"); - server.createWebDavServlet(vaultRoot, vaultName); + WebDavServletController servlet = server.createWebDavServlet(vaultRoot, vaultName); + servlet.start(); } waitForShutdown(() -> {