How to put a datetime value in an attribute?

Cantor, Scott cantor.2 at osu.edu
Tue Sep 22 10:23:08 EDT 2015


On 9/22/15, 10:19 AM, "users on behalf of Camel Guy" <users-bounces at shibboleth.net on behalf of camel at devguy.com> wrote:
>
>I am wondering whether I'm supposed to store it as, say, an ISO8601 string with StringAttributeValue. Or, can I use IdPAttributeValue<ZonedDateTime>?

You can do what you like, but you'll have to write more plugins, encoders at least, to accomodate a non-string.

>I suppose I'm trolling for a bunch of different answers, but if I'm supposed to stick with StringAttributeValue, is ISO8601 the recommended format?

If that's the XML Schema format, yes. It's ISO something. You should use UTC time only.

-- Scott



More information about the users mailing list