- All Known Implementing Classes:
public interface ValidatorThis interface describes a pluggable way of validating credentials that have been extracted by the processors.
Credential validate(Credential credential, RequestData data) throws WSSecurityExceptionValidate the credential argument. This method returns a Credential instance that represents the validated credential. This instance can be the same as the instance that was validated, or it can represent some transformation of the initial Credential instance.
credential- the Credential to be validated
data- the RequestData associated with the request
- a validated Credential
WSSecurityException- on a failed validation