node.setAcl(getAcl(repository, workspace, path));
NodeIterator it = n.getNodes();
while (it.hasNext()) {
Node child = it.nextNode();
node.addChild(new JcrNode(repository, workspace, child.getName(), child.getPath(), child.getPrimaryNodeType().getName()));
}
return node;
} catch (AccessDeniedException | SecurityException ade) {
throw new RemoteException(RemoteException.SECURITY_ERROR, ade.getMessage());
} catch (RepositoryException e) {