docs: @Override
      public void deny(String principalId, String path, String... privilege) throws RepositoryException {
  
          final Session session = getAdminSession();
  
          final Privilege[] privilegeArray = toPrivilegeArray(session, privilege);
          final Principal principal = this.resolvePrincipal(principalId);
  
          AccessControlUtils.addAccessControlEntry(session, path, principal, privilegeArray, false);
  
          // and the session must be saved for the changes to be applied
          session.save();
      }