The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.
DateTimeAttributeDefinition
This feature requires V4.3 of the IdP software.
Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
Overview
The DateTime
AttributeDefinition converts one or more input values into a Java Instant (an unambiguous timestamp based on the Unix epoch) . The resulting attribute's values are of type DateTimeAttributeValue. This definition type can convert string values that are either numeric, or that match a supplied DateTimeFormatter formatting string. Numeric values may be processed in seconds or in milliseconds since the Unix epoch. It is allowed to mix numeric and formatted string inputs.
Errors in converting data may be fatal or ignored.
Reference
Examples
<AttributeDefinition id="expirationOfSomething" xsi:type="DateTime" epochInSeconds="false">
<InputAttributeDefinition ref="expTimeFromDirectory" />
</AttributeDefinition>
Â