this.perhapsChangeTimestampFormat(givenTimestampElem);
final String propertyValue =
SecurityPropertiesHelper.getReplayAttackWindow(servicePath,
resource);
final ReplayAttackFilter replayFilter =
ReplayAttackFilter.getInstance(propertyValue);
if (messageIDHeader == null) {
final Timestamp timestamp =
new Timestamp(WSSConfig.getDefaultWSConfig(),
timestampElem);
final boolean stampOk =
verifyTimestamp(timestamp,
replayFilter.getMessageWindow());
if (!stampOk) {
throw new WSSecurityException(WSSecurityException.FAILURE,
"timestampNotOk");
}
} else {