org.apache.ws.security.validate
Class TimestampValidator
java.lang.Object
org.apache.ws.security.validate.TimestampValidator
- All Implemented Interfaces:
- Validator
public class TimestampValidator
- extends Object
- implements Validator
This class validates a processed Timestamp, extracted from the Credential passed to
the validate method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampValidator
public TimestampValidator()
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 interface Validator
- Parameters:
credential
- the Credential to be validateddata
- the RequestData associated with the request
- Returns:
- a validated Credential
- Throws:
WSSecurityException
- on a failed validation
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.