Interface EPPVerificationCodeValidator
-
- All Known Implementing Classes:
TrustAnchorVerificationCodeValidator
public interface EPPVerificationCodeValidatorValidates a verification code. A implementing class can define different mechanisms for verifying theEPPVerificationCodeinstance using server-specific policies. The implementing class should be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvalidate(EPPVerificationCode aVerificationCode, java.lang.Object aData)Validate the contents of a verification code using local server policy.
-
-
-
Method Detail
-
validate
boolean validate(EPPVerificationCode aVerificationCode, java.lang.Object aData) throws EPPException
Validate the contents of a verification code using local server policy. For example, the code value and the type can be verified against the user's profile or against the matching trust anchor certificate. Many mechanisms can be created.- Parameters:
aVerificationCode- Verification code to validateaData- Optional extra server-specific data. Pass asnullif not needed.- Returns:
trueif the verification code is valid;falseotherwise.- Throws:
EPPException- Error executing the validation.
-
-