Package org.apache.wss4j.dom.validate
Class TimestampValidator
java.lang.Object
org.apache.wss4j.dom.validate.TimestampValidator
- All Implemented Interfaces:
Validator
This class validates a processed Timestamp, extracted from the Credential passed to
the validate method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(Credential credential, RequestData data) Validate the credential argument.
-
Constructor Details
-
TimestampValidator
public TimestampValidator()
-
-
Method Details
-
validate
Validate the credential argument. It must contain a non-null Timestamp.- Specified by:
validatein interfaceValidator- Parameters:
credential- the Credential to be validateddata- the RequestData associated with the request- Returns:
- a validated Credential
- Throws:
WSSecurityException- on a failed validation
-