Access metadata from DataConnector

Simon Gfeller simon.gfeller at gmail.com
Mon Dec 14 14:25:12 EST 2015


Hello,

I'm writing a DataConnector for the IdP 3.2. To get attributes, it sends a
SAML 2.0 AttributeQuery to an Attribute Authority. This connector is
working, but I have a few things to improve.

I get the entityID of the destination AA & the nameID from a database and
now I will get the attribute service location of this entity from the
metadata. Later, I need the metadata also to get the certificate of the AA
to verify the signature of the assertion.

Summarized, I need the following informations from the metadata about the
destination AA:
<AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                Location="
https://aa.example.org:8443/idp/profile/SAML2/SOAP/AttributeQuery" />
and
<ds:X509Certificate>....</ds:X509Certificate>


My problem is, I can't figure out, where ad how I can access the metadata
of my IdP? Is there a simple solution accessing the IdPs metadata from
inside the doDataConnectorResolve method? I'm thankful for any help or a
little example.

Thanks
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20151214/14df0e3a/attachment.html>


More information about the dev mailing list