code: public List<AccessControlEntry> getPermissionEntries()
     {
        List<AccessControlEntry> list = new ArrayList<AccessControlEntry>();
        for (int i = 0, length = accessList.size(); i < length; i++)
        {
           AccessControlEntry entry = accessList.get(i);
           list.add(new AccessControlEntry(entry.getIdentity(), entry.getPermission()));
        }
        return list;
     }
docs: Gives all the permission entries
  @return a safe copy of all the permission entries