securityManager.setDigestGenerator(new DigestGenerator());
String home = System.getProperty("user.dir");
File root = new File(home);
FileSystemResourceFactory rf = new FileSystemResourceFactory(root, securityManager, home);
rf.setLockManager(lockManager);
rf.setContextPath("/webdav");
rf.setSsoPrefix("XXX");
SsoResourceFactory ssoResourceFactory = new SsoResourceFactory(rf, ssoSessionProvider);
SsoAuthenticationHandler ssoAuthenticationHandler = new SsoAuthenticationHandler();