Skip to Content.
Sympa Menu

shibboleth-dev - [Shib-Dev] Dynamic Metadata Provider for IdP

Subject: Shibboleth Developers

List archive

[Shib-Dev] Dynamic Metadata Provider for IdP


Chronological Thread 
  • From: Xiang Yang <>
  • To:
  • Subject: [Shib-Dev] Dynamic Metadata Provider for IdP
  • Date: Mon, 05 Jul 2010 01:04:42 +0200

Hi,

I wrote a dynamic MetadataProvider extension to the IdP snapshot 2.2.0
(and IdP v 2.1.5). If anybody thinks it could be useful for him I'll be
happy to contribute my code.

The logic is exactly as same as provided with the SP v2.4:

<MetadataProvider id="ShibbolethMetadata"
xsi:type="dynfedmd:DynamicHTTPMetadataProvider"
xmlns="urn:mace:shibboleth:2.0:metadata" >
<Subst encoded="true"
xmlns="urn:dynfed:shibboleth:metadataprovider">http://localhost/retrievMD?entityId=$entityId</Subst>
</MetadataProvider>

1. If there is no "<Subst>" child element, the entity-id is used as the
md location;

2. Otherwise the content of <Subst> is used as the md location and the
string $entityId is replaced by the entity-id if there is one.

Furthermore this extension is based on the new
HTTPMetadataProvider(requires opensaml 2.4) and the following attribute
of the HTTPMetadaProvider 2.2 are implemented:

disregardSslCertificate
requestedTimeout
cacheDuration
basicAuthUser
basicAuthPassword
proxyHost
proxyPort
proxyUser
proxyPassword

Yang




Archive powered by MHonArc 2.6.16.

Top of Page