You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Rudi Grasmuck (JIRA)" <ji...@apache.org> on 2015/09/15 02:38:46 UTC
[jira] [Created] (WSS-554) Improved error message for timestamp in
the future
Rudi Grasmuck created WSS-554:
---------------------------------
Summary: Improved error message for timestamp in the future
Key: WSS-554
URL: https://issues.apache.org/jira/browse/WSS-554
Project: WSS4J
Issue Type: Improvement
Components: WSS4J Core
Affects Versions: 1.6.18
Environment: Any
Reporter: Rudi Grasmuck
Assignee: Colm O hEigeartaigh
Priority: Trivial
Fix For: 1.6.19
The error message "The message is expired" (WSSecurityException.MESSAGE_EXPIRED) is returned for the case of
timeStamp.isExpired() as well as when the created timestamp is in the future
in the org.apache.ws.security.validate.TimestampValidator.
When a client has a clock set a few minutes in the future (or past), their timestamp fails verification in the verifyCreated method in the Timestamp, the return of message expired is misleading and can cause a user to look in the wrong place. Maybe "The message timestamp is out of range!?"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org