Skip to content

Add interface to define validUntil/cacheDuration #563

@nijel

Description

@nijel

The SAML medatada generated by ruby-saml violate the SAML 2.0 specification because it doesn't include validUntil or cacheDuration attribute on the root EntityDescriptor element. It also doesn't provide an interface to define this by the application.

The specification is clear that it should be present at the root EntityDescriptor element.

When used as the root element of a metadata instance, this element MUST contain either a validUntil or cacheDuration attribute.

Both validUntil and cacheDuration of the EntityDescriptor element are optional in the specification because they should appear only on the root element and are not recommended to use elsewhere and the EntityDescriptor element doesn't have to be a root element.

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions