Livio Spring f9eb3414f5
fix(saml): parse xsd:duration format correctly (#9098)
# Which Problems Are Solved

SAML IdPs exposing an `EntitiesDescriptor` using an `xsd:duration` time
format for the `cacheDuration` property (e.g. `PT5H`) failed parsing.

# How the Problems Are Solved

Handle the unmarshalling for `EntitiesDescriptor` specifically.
[crewjam/saml](bbccb7933d/metadata.go (L88-L103))
already did this for `EntitiyDescriptor` the same way.

# Additional Changes

None

# Additional Context

- reported by a customer
- needs to be backported to current cloud version (2.66.x)

(cherry picked from commit bcf416d4cf6448faa7f4d76dcdd1b81e5e3defcb)
2025-01-06 10:47:03 +01:00
..
2023-10-19 12:34:00 +02:00
2023-10-19 12:34:00 +02:00
2023-10-19 12:34:00 +02:00