AuthenticationService authSvc = new AuthenticationService(authHandlers);
DefaultWebDavResponseHandler respHandler = new DefaultWebDavResponseHandler(authSvc);
respHandler.setBuffering(BUFFERING.always);
httpManager = new ServletHttpManager(fact, respHandler, authSvc);
httpManager.addFilter(0, new PreAuthenticationFilter(respHandler, sm, np));
}