SAML2DateTimeEncoder

SAML2DateTimeEncoder

This feature requires IdP V4.3+.

Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

The SAML2DateTime attribute encoder encodes a date/time-valued IdPAttribute as a SAML 2 Attribute. Date/time values are represented internally as a Java Instant, which is the simplest/least ambiguous way to represent a point in time.

XML defines a textual representation of date/time information in ISO format, and SAML requires all such values to be in UTC to avoid time zone confusion. This encoder automatically encodes the values in that format.

Reference

Name Type Req? Default Description name string Y                                                                                                            Value to put into the Name attribute of the output <AttributeValue> elements nameFormat string urn:oasis:names:tc:SAML:2.0:attrname-format:uri Value to put into the NameFormat attribute of the output <AttributeValue> elements friendlyName string The enclosing attribute's ID Value to put into the FriendlyName attribute of the output <AttributeValue> elements