MetadataProvider and update

Peter Schober peter.schober at univie.ac.at
Thu May 11 17:06:55 EDT 2017


* Brent Putman <putmanb at georgetown.edu> [2017-05-11 22:12]:
> As I have understood it, something like the following would allow to
> drop files into a directory and be resolved automatically by shibd on
> first use:
> 
> <MetadataProvider type="Dynamic">
>     <Subst hashed="SHA1">file:///path/to/metadata/$entityID.xml</Subst>
> </MetadataProvider>

Nice!!!

  <MetadataProvider type="Dynamic" ignoreTransport="true">
    <Subst encoded="false" hashed="SHA1">file:///etc/shibboleth/hashes/$entityID.xml</Subst>
  </MetadataProvider>

$ echo -n https://idp.example.org/saml | sha1sum
44ab048eb15326219a262c1d1e8f563e90b345d3

2017-05-11 21:02:45 INFO OpenSAML.MetadataProvider.Dynamic [1]:
resolving metadata for (https://idp.example.org/saml)

2017-05-11 21:02:45 INFO Shibboleth.MetadataProvider.Dynamic [1]:
transformed location from (https://idp.example.org/saml) to
(file:///etc/shibboleth/metadata/hash/44ab048eb15326219a262c1d1e8f563e90b345d3.xml)

Thanks, a really nice feature!

And one I completely missed.
-peter


More information about the users mailing list