Class AbstractKbaStage<C extends AbstractKbaStageConfig<?>>
- java.lang.Object
-
- org.forgerock.selfservice.stages.kba.AbstractKbaStage<C>
-
- Type Parameters:
C
- the type of AbstractKbaStageConfig
- All Implemented Interfaces:
ProgressStage<C>
- Direct Known Subclasses:
SecurityAnswerDefinitionStage
,SecurityAnswerVerificationStage
public abstract class AbstractKbaStage<C extends AbstractKbaStageConfig<?>> extends Object implements ProgressStage<C>
Base class for KBA stages.- Since:
- 0.2.0
-
-
Field Summary
Fields Modifier and Type Field Description protected ConnectionFactory
connectionFactory
The CREST connectionFactory.protected CryptoService
cryptoService
The instance ofCryptoService
.protected static String
REQUIREMENT_PROPERTY_ID
Represents the id property.protected static String
REQUIREMENT_PROPERTY_QUESTION
Represents the question property.protected static String
REQUIREMENT_PROPERTY_SYSTEM_QUESTION
Represents the systemQuestion property.protected static String
REQUIREMENT_PROPERTY_USER_QUESTION
Represents the userQuestion property.
-
Constructor Summary
Constructors Constructor Description AbstractKbaStage(ConnectionFactory connectionFactory)
Constructs a new AbstractKbaStage.
-
-
-
Field Detail
-
REQUIREMENT_PROPERTY_ID
protected static final String REQUIREMENT_PROPERTY_ID
Represents the id property.- See Also:
- Constant Field Values
-
REQUIREMENT_PROPERTY_QUESTION
protected static final String REQUIREMENT_PROPERTY_QUESTION
Represents the question property.- See Also:
- Constant Field Values
-
REQUIREMENT_PROPERTY_SYSTEM_QUESTION
protected static final String REQUIREMENT_PROPERTY_SYSTEM_QUESTION
Represents the systemQuestion property.- See Also:
- Constant Field Values
-
REQUIREMENT_PROPERTY_USER_QUESTION
protected static final String REQUIREMENT_PROPERTY_USER_QUESTION
Represents the userQuestion property.- See Also:
- Constant Field Values
-
connectionFactory
protected final ConnectionFactory connectionFactory
The CREST connectionFactory.
-
cryptoService
protected final CryptoService cryptoService
The instance ofCryptoService
.
-
-
Constructor Detail
-
AbstractKbaStage
public AbstractKbaStage(ConnectionFactory connectionFactory)
Constructs a new AbstractKbaStage.- Parameters:
connectionFactory
- the CREST connection factory
-
-