public Privilege[] getSupportedPrivileges(String s) throws RepositoryException {
   //        This method does not return the privileges held by the session. Instead, it returns
   // the privileges that the repository supports.
   //       TODO   checkValidNodePath(absPath);
   return privilegeRegistry.getRegisteredPrivileges();
 }