public static Set<String> loadSanctionedClassNames(
      Iterable<SanctionedSerializablesService> services) {
    Set<String> sanctionedClasses = new HashSet<>(650);
    for (SanctionedSerializablesService service : services) {
      try {
        Collection<String> classNames = service.getSerializationAcceptlist();
        logger.info("loaded {} sanctioned serializables from {}", classNames.size(),
            service.getClass().getSimpleName());
        sanctionedClasses.addAll(classNames);
      } catch (IOException e) {
        throw new UncheckedIOException(
            "Unable to initialize serialization filter for " + service,
            e);
      }
    }
    return sanctionedClasses;
  }
Loads class names of sanctioned serializables from a resource. Caller will add these to the
serialization filter acceptlist.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/filter/SanctionedSerializables.java