Class SecurityAnswerDefinitionConfig
java.lang.Object
org.forgerock.selfservice.stages.kba.AbstractKbaStageConfig<SecurityAnswerDefinitionConfig>
org.forgerock.selfservice.stages.kba.SecurityAnswerDefinitionConfig
- All Implemented Interfaces:
StageConfig
public final class SecurityAnswerDefinitionConfig
extends AbstractKbaStageConfig<SecurityAnswerDefinitionConfig>
Configuration for the KBA Security Answer Definition Stage.
- Since:
- 0.2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityAnswerDefinitionConfig(KbaConfig kbaConfig) Creates a new SecurityAnswerDefinitionConfig. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Gets the name of the stage configuration.intGets the number of answers that user must set.Gets the class name of the consuming progress stage.inthashCode()self()Returns this object, as its actual type.setNumberOfAnswersUserMustSet(int numberOfAnswersUserMustSet) Sets the number of answers that user must set.Methods inherited from class org.forgerock.selfservice.stages.kba.AbstractKbaStageConfig
getKbaPropertyName, getQuestions, getSecureHash, setKbaPropertyName, setQuestions, setSecureHash
-
Field Details
-
NAME
Name of the stage configuration.- See Also:
-
-
Constructor Details
-
SecurityAnswerDefinitionConfig
Creates a new SecurityAnswerDefinitionConfig.- Parameters:
kbaConfig- the kba configuration
-
-
Method Details
-
getNumberOfAnswersUserMustSet
public int getNumberOfAnswersUserMustSet()Gets the number of answers that user must set.- Returns:
- the number of answers to be set
-
setNumberOfAnswersUserMustSet
Sets the number of answers that user must set.- Parameters:
numberOfAnswersUserMustSet- the number of answers to be set- Returns:
- this config instance
-
getName
Description copied from interface:StageConfigGets the name of the stage configuration.- Returns:
- the config name
-
getProgressStageClassName
Description copied from interface:StageConfigGets the class name of the consuming progress stage.- Returns:
- the progress stage class name
-
self
Description copied from class:AbstractKbaStageConfigReturns this object, as its actual type.- Specified by:
selfin classAbstractKbaStageConfig<SecurityAnswerDefinitionConfig>- Returns:
- this object
-
equals
- Overrides:
equalsin classAbstractKbaStageConfig<SecurityAnswerDefinitionConfig>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractKbaStageConfig<SecurityAnswerDefinitionConfig>
-