// ExtendedNode node =
// (ExtendedNode)session.getRootNode().addNode("testAddNode");
ExtendedNode node = (ExtendedNode)accessTestRoot.addNode("testAddNode");
// node.addMixin("exo:accessControllable");
node.addMixin("exo:owneable");
node.addMixin("exo:privilegeable");
HashMap<String, String[]> perm = new HashMap<String, String[]>();
// perm.put("john", PermissionType.ALL);
perm.put("john", new String[]{PermissionType.ADD_NODE, PermissionType.READ});
perm.put("mary", new String[]{PermissionType.READ});