public static Optional<SamlRegisteredServiceMetadataAdaptor> get(
        final SamlRegisteredServiceCachingMetadataResolver resolver,
        final SamlRegisteredService registeredService,
        final RequestAbstractType request) {
        return get(resolver, registeredService, SamlIdPUtils.getIssuerFromSamlObject(request));
    }
Adapt saml metadata and parse. Acts as a facade.

@param resolver          the resolver
@param registeredService the service
@param request           the request
@return the saml metadata adaptor
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/services/idp/metadata/SamlRegisteredServiceMetadataAdaptor.java