Package org.apache.wss4j.dom.validate
Class TimestampValidator
- java.lang.Object
-
- org.apache.wss4j.dom.validate.TimestampValidator
-
-
Constructor Summary
Constructors Constructor Description TimestampValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Credential
validate(Credential credential, RequestData data)
Validate the credential argument.
-
-
-
Method Detail
-
validate
public Credential validate(Credential credential, RequestData data) throws WSSecurityException
Validate the credential argument. It must contain a non-null Timestamp.- Specified by:
validate
in interfaceValidator
- Parameters:
credential
- the Credential to be validateddata
- the RequestData associated with the request- Returns:
- a validated Credential
- Throws:
WSSecurityException
- on a failed validation
-
-