swedenconnect / opensaml-addons

Extensions to OpenSAML
4 stars 2 forks source link

CompositeMetadataProvider does not set validUntil and cacheDuration #2

Closed martin-lindstrom closed 2 years ago

martin-lindstrom commented 2 years ago

In cases where we want to use a CompositeMetadataProvider as a metadata aggregator from several sources there should be a way to preserve the validUntil and cacheDuration from the underlying providers.

So, set the validUntil and cacheDuration to the shortest value from all underlying providers.

martin-lindstrom commented 2 years ago

Fixed by PR https://github.com/swedenconnect/opensaml-addons/pull/3.