code: public static Optional<SamlRegisteredServiceServiceProviderMetadataFacade> get(final SamlRegisteredServiceCachingMetadataResolver resolver,
                                                                                     final SamlRegisteredService registeredService,
                                                                                     final RequestAbstractType request) {
          return get(resolver, registeredService, SamlIdPUtils.getIssuerFromSamlObject(request));
      }
docs: 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