Related to #12664
An application using RelyingPartyRegistrations can retrieve the underlying OpenSAML XMLObject for each asserting party like so:
RelyingPartyRegistration registration = // ...
OpenSamlAssertingPartyDetails details = (OpenSamlAssertingPartyDetails)
registration.getAssertingPartyDetails();
EntityDescriptor description = details.getEntityDescriptor();
This should be documented in on SAML Metadata reference page.
Since this feature is available as of 5.7, please add the documentation on the 5.7.x branch.