Package com.sun.enterprise.security.auth
Interface TimestampValidator
-
public interface TimestampValidator
validate Timestamp received in messages.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(Date created, long maxClockSkew, long freshnessLimit)
validate given time against current time.
-
-
-
Method Detail
-
validate
void validate(Date created, long maxClockSkew, long freshnessLimit) throws TimeoutException
validate given time against current time.- Parameters:
created
- created timemaxClockSkew
- maximum difference allowed between the system clocks of the sender and recipient.freshnessLimit
- maximum duration of time after which the Timestamp becomes stale- Throws:
TimeoutException
-
-