Session rootSession =
repository.login(new CredentialsImpl("root", "exo".toCharArray()), session.getWorkspace().getName());
NodeImpl myNode = (NodeImpl)rootSession.getItem(rootNode.getPath());
Node test = myNode.addNode("test");
test.setProperty("property", "any data");
myNode.save();
test.remove();
myNode.save();
}
catch (AccessControlException e)
{