NodeState base = builder.getNodeState();
MemoryNodeStore store = new MemoryNodeStore(base);
Root root = new SystemRoot(store, EmptyHook.INSTANCE, workspaceName,
securityProvider, new QueryEngineSettings(),
new CompositeQueryIndexProvider(new PropertyIndexProvider(),
new NodeTypeIndexProvider()));
UserConfiguration userConfiguration = securityProvider.getConfiguration(UserConfiguration.class);
UserManager userManager = userConfiguration.getUserManager(root, NamePathMapper.DEFAULT);