Skip to Content.
Sympa Menu

mace-opensaml-users - Problem with time format in SAML response

Subject: OpenSAML user discussion

List archive

Problem with time format in SAML response


Chronological Thread 
  • From: "Shannon Kendrick" <>
  • To: <>
  • Subject: Problem with time format in SAML response
  • Date: Thu, 22 May 2003 15:23:31 -0400

Scott,
I've encountered a little problem when OpenSAML parses the "IssueInstant" in a SAML response. Here is the format that OpenSAML expects:
 
IssueInstant="2003-05-20T16:15:39Z"
 
But this is the format I'm receiving from a non-OpenSAML generated response:
 
IssueInstant="2003-05-20T16:15:39.789-04:00"
 
It appears that both are valid according the "dateTime" format specified in the W3C schema http://www.w3.org/TR/xmlschema-2/#dateTime. I can't think of a quick fix that would involve simply changing the SimpleDateFormat mask. Maybe you know of one.
 
Sincerely,
Shannon Kendrick



Archive powered by MHonArc 2.6.16.

Top of Page