public final class SecurityAnswerDefinitionConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Name of the stage configuration.
|
Constructor and Description |
---|
SecurityAnswerDefinitionConfig(KbaConfig kbaConfig)
Creates a new SecurityAnswerDefinitionConfig.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKbaPropertyName()
Gets the property name in user json instance where kba details will be set.
|
String |
getName()
Gets the name of the stage configuration.
|
int |
getNumberOfAnswersUserMustSet()
Gets the number of answers that user must set.
|
String |
getProgressStageClassName()
Gets the class name of the consuming progress stage.
|
Map<String,Map<String,String>> |
getQuestions()
Gets the kba questions in the following format.
|
int |
hashCode() |
SecurityAnswerDefinitionConfig |
self()
Returns this object, as its actual type.
|
C |
setKbaPropertyName(String kbaPropertyName)
Sets the property name in user json instance where kba details will be set.
|
SecurityAnswerDefinitionConfig |
setNumberOfAnswersUserMustSet(int numberOfAnswersUserMustSet)
Sets the number of answers that user must set.
|
C |
setQuestions(Map<String,Map<String,String>> questions)
Sets the kba questions.
|
public static final String NAME
public SecurityAnswerDefinitionConfig(KbaConfig kbaConfig)
kbaConfig
- the kba configurationpublic int getNumberOfAnswersUserMustSet()
public SecurityAnswerDefinitionConfig setNumberOfAnswersUserMustSet(int numberOfAnswersUserMustSet)
numberOfAnswersUserMustSet
- the number of answers to be setpublic String getName()
StageConfig
public String getProgressStageClassName()
StageConfig
public SecurityAnswerDefinitionConfig self()
public boolean equals(Object o)
public int hashCode()
public Map<String,Map<String,String>> getQuestions()
Map<id,Map<locale,question>>
public C setQuestions(Map<String,Map<String,String>> questions)
questions
- the kba questionpublic String getKbaPropertyName()
public C setKbaPropertyName(String kbaPropertyName)
kbaPropertyName
- the property nameCopyright © 2010-2020, ForgeRock All Rights Reserved.