Package com.pingidentity.sdk.password
Interface ChallengeablePasswordCredential
public interface ChallengeablePasswordCredential
Implemented by a
PasswordCredentialValidator to support 2-Factor authentication using a challenge question.- Since:
- 7.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionChallenge a user to answer a security question.
-
Method Details
-
challenge
Challenge a user to answer a security question.- Parameters:
username- name of the user attempting to sign inpassword- the user's passwordstate- an opaque object containing state used to preserve state during a 2-Factor authentication.- Returns:
- PasswordChallengeResult an object containing attributes returned as a result of this challenge.
- Throws:
PasswordValidationException- for system errorsPasswordCredentialValidatorAuthnException- for user authentication errors to prevent the user from answering a challenge question.PasswordCredentialChallengeException- to prompt or re-prompt the user to answer a challenge question.
-