Mock implementation of of callback handler that accepts all password and certificate validation callbacks.
If the valid property is set to true (the default), this handler simply accepts and
validates every password or certificate validation callback that is passed to it.
This class handles CertificateValidationCallbacks and PasswordValidationCallbacks, and
throws an UnsupportedCallbackException for others
author: Arjen Poutsma