NAM 4.5.x Saml 2.0 metadata validUntil or cacheDuration attribute missing in NAM Metadata

Hi,

Not a major issue but a SP that we recently federated with is doing automatic Metadata update and since there is no validuntil or cacheduration in NAM Metadata the fetch our metadata at every authentication witch is not optimal.

According to SAML2 spec, one of the attribute should be in the metadata if metadata is the root element of metadata. I figure that the Saml2 default metadata is the root element.

"When used as the root element of a metadata instance, this element MUST contain either a validUntil or cacheDuration attribute. It is RECOMMENDED that only the root element of a metadata instance contain either attribute"

Is it somehow possible to add validunti och cacheDuration for NAM's Saml2 metadata?

/Lelle

Tags: