public Set<ConfigurationMetadataProperty> getPropertiesWithType(final Class clazz) {
        return repository.getAllProperties().values()
            .stream()
            .filter(prop -> StringUtils.isNotBlank(prop.getType()))
            .filter(prop -> prop.getType().contains(clazz.getName()))
            .collect(Collectors.toSet());
    }
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