LockManager lockManager = new SimpleLockManager();
Map<String, String> users = new HashMap<String, String>();
users.put("me", "pwd");
SimpleSecurityManager securityManager = new SimpleSecurityManager("demo", users);
securityManager.setDigestGenerator(new DigestGenerator());
String home = System.getProperty("user.dir");
File root = new File(home);
FileSystemResourceFactory rf = new FileSystemResourceFactory(root, securityManager, home);