@Override
    protected Resource getMetadataArtifact(final Optional<SamlRegisteredService> registeredService, final String artifactName) {
        val file = getMetadataArtifactFile(registeredService, artifactName);
        return new FileSystemResource(file);
    }
This is {@link GitSamlIdPMetadataLocator}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-saml-idp-metadata-git/src/main/java/org/apereo/cas/support/saml/idp/metadata/GitSamlIdPMetadataLocator.java