private static List<byte[]> collectConfigurationMetadata() {
        return FunctionUtils.doUnchecked(() -> {
            val resources = new PathMatchingResourcePatternResolver().getResources(CONFIGURATION_METADATA_RESOURCE_PATTERN);
            return Arrays.stream(resources)
                .map(Unchecked.function(r -> {
                    try (val in = r.getInputStream()) {
                        return in.readAllBytes();
                    }
                }))
                .toList();
        });
    }
Gets properties by class type.

@param clazz the clazz
@return the properties by class type
support/cas-server-support-configuration-metadata-repository/src/main/java/org/apereo/cas/metadata/CasConfigurationMetadataRepository.java