chezinut / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

WSSEUsernameToken creates incorrect timestamp #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. invoke WSSEUsernameToken.getUsernameToken("user", "password");

What is the expected output? What do you see instead?

The resulting string contains a string representation the date/time when 
the function was called. The timezone of that string representation is Z 
(for UTC), but the time itself is in local time.

What version of the product are you using? On what operating system?
as3corelib .90

Please provide any additional information below.

Suggested fix is to use DateUtil#toW3CDTF instead of the DateFormatter.

Original issue reported on code.google.com by epost...@gmail.com on 12 Jul 2007 at 1:14

GoogleCodeExporter commented 9 years ago
The attachment includes a fix for issues 24 and 25.

The suggested fix above would not work, because it would use the local date 
(not the
UTC date)

Original comment by koenw...@gmail.com on 17 Dec 2008 at 2:05

Attachments: