We usually develop and test secure Web services applications in one machine. Then, when we actually test this application with a remote client, some of the initial issues we run into are timestamp validation issues. This is mainly due to the clocks of the two machines not being in sync. In real life scenarios, we certainly cannot expect clocks to be in sync. You can synchronize clocks across machines automatically with tools that use Network Time Protocol.
Apache Rampart/Java introduces a new configuration assertion to allow time differences between communicating hosts.
The "value" must be the allowed time skew in seconds and must be specified as an integer. By default Apache Rampart/Java tolarates a maximum time skew of five (5) minutes (300 seconds).The
<timestampMaxSkew>assertion must be placed within the
<RampartConfig>assertion as an immediate child element.
1. Apache Rampart/Java