public final class SecurityAnswerVerificationStage extends AbstractKbaStage<SecurityAnswerVerificationConfig>
connectionFactory, cryptoService, REQUIREMENT_PROPERTY_ID, REQUIREMENT_PROPERTY_QUESTION, REQUIREMENT_PROPERTY_SYSTEM_QUESTION, REQUIREMENT_PROPERTY_USER_QUESTION
Constructor and Description |
---|
SecurityAnswerVerificationStage(ConnectionFactory connectionFactory,
SecurityAnswerLockoutManager securityAnswerLockoutManager)
Constructs a new security answer verification stage.
|
Modifier and Type | Method and Description |
---|---|
StageResponse |
advance(ProcessContext context,
SecurityAnswerVerificationConfig config)
Advance the progress stage.
|
JsonValue |
gatherInitialRequirements(ProcessContext context,
SecurityAnswerVerificationConfig config)
Response for defining any initial requirements the stage may have.
|
@Inject public SecurityAnswerVerificationStage(ConnectionFactory connectionFactory, SecurityAnswerLockoutManager securityAnswerLockoutManager)
connectionFactory
- the CREST connection factorysecurityAnswerLockoutManager
- a handler for managing security answer lockoutpublic JsonValue gatherInitialRequirements(ProcessContext context, SecurityAnswerVerificationConfig config) throws ResourceException
ProgressStage
An empty json object implies no initial requirements.
context
- the current process contextconfig
- the stage configurationResourceException
- if some expected state is invalidpublic StageResponse advance(ProcessContext context, SecurityAnswerVerificationConfig config) throws ResourceException
ProgressStage
context
- the current process contextconfig
- the stage configurationResourceException
- if some expected state or input is invalidCopyright © 2010-2018, ForgeRock All Rights Reserved.