@Override
    protected SamlIdPMetadataDocument newSamlIdPMetadataDocument() {
        val jpa = getConfigurationContext().getCasProperties().getAuthn().getSamlIdp().getMetadata().getJpa();
        return new JpaSamlIdPMetadataDocumentFactory(jpa.getDialect()).newInstance();
    }
This is {@link JpaSamlIdPMetadataGenerator}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-saml-idp-metadata-jpa/src/main/java/org/apereo/cas/support/saml/idp/metadata/JpaSamlIdPMetadataGenerator.java