public final class SecurityAnswerVerificationConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Name of the stage configuration.
|
Constructor and Description |
---|
SecurityAnswerVerificationConfig(KbaConfig kbaConfig)
Creates a new SecurityAnswerVerificationConfig.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getIdentityServiceUrl()
Gets the URL for the identity service.
|
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 |
getNumberOfQuestionsUserMustAnswer()
Gets the number of questions that user must answer.
|
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() |
SecurityAnswerVerificationConfig |
self()
Returns this object, as its actual type.
|
SecurityAnswerVerificationConfig |
setIdentityServiceUrl(String identityServiceUrl)
Sets the URL for the identity service.
|
C |
setKbaPropertyName(String kbaPropertyName)
Sets the property name in user json instance where kba details will be set.
|
SecurityAnswerVerificationConfig |
setNumberOfQuestionsUserMustAnswer(int numberOfQuestionsUserMustAnswer)
Sets the number of questions that user must answer.
|
C |
setQuestions(Map<String,Map<String,String>> questions)
Sets the kba questions.
|
public static final String NAME
public SecurityAnswerVerificationConfig(KbaConfig kbaConfig)
kbaConfig
- the kba configurationpublic String getIdentityServiceUrl()
public SecurityAnswerVerificationConfig setIdentityServiceUrl(String identityServiceUrl)
identityServiceUrl
- the identity service URLpublic int getNumberOfQuestionsUserMustAnswer()
public SecurityAnswerVerificationConfig setNumberOfQuestionsUserMustAnswer(int numberOfQuestionsUserMustAnswer)
numberOfQuestionsUserMustAnswer
- the number of questions to be answeredpublic String getName()
StageConfig
public String getProgressStageClassName()
StageConfig
public SecurityAnswerVerificationConfig 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.