code: public AccessControlList getACL() throws RepositoryException
     {
        checkValid();
  
        List<AccessControlEntry> listEntry = new ArrayList<AccessControlEntry>();
  
        for (AccessControlEntry aEntry : nodeData().getACL().getPermissionEntries())
        {
           listEntry.add(new AccessControlEntry(aEntry.getIdentity(), aEntry.getPermission()));
        }
  
        return new AccessControlList(nodeData().getACL().getOwner(), listEntry);
     }
docs: {@inheritDoc}