mace-opensaml-users - Re: [OPEN SAML] Question about DateTime...
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: [OPEN SAML] Question about DateTime...
- Date: Mon, 17 Mar 2008 08:17:25 +0100
- Organization: SWITCH
There is no mistake. When you just print a DateTime you get the output
in the timezone that you set (or the system's timezone if you didn't set
one). However, OpenSAML requires that all times be in UTC so the
OpenSAML code is converting it to the proper timezone for you.
17:26:45.890-03:00 and 20:26:45.890Z are equivalent.
Also, please don't BCC the list, it screws up people's filters.
Arlindo Luis Marcon Junior wrote:
Hi All...
Someone can help me,,, please...
My doubt is about the DateTime,,, when I set it in the:
setIssueInstant(MyDateTime), or
conditions.setNotBefore(MyDateTime), or
conditions.setNotOnOrAfter(MyDateTime).
If I try print the dateTime in the "console",,, ( "before" call the marshaller ) the dateTime show me in the exactly manner that I had configured,,,
sample: IssueInstant: 2008-03-15T 17:26:45.890-03:00
but,,, in the endpoint,,, after call the unmarshaller,,, if I try print this object again,,, the dateTime
have some hours further...
sample: IssueInstant: 2008-03-15T 20:26:45.890Z...
Where is my mistake? What is wrong with my source code?
Many Thanks in advance...
any help is welcome...
and sorry my poor english...
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch
- [OPEN SAML] Question about DateTime..., Arlindo Luis Marcon Junior, 03/15/2008
- Re: [OPEN SAML] Question about DateTime..., Chad La Joie, 03/17/2008
Archive powered by MHonArc 2.6.16.