Class SecurityAnswerVerificationConfig
java.lang.Object
org.forgerock.selfservice.stages.kba.AbstractKbaStageConfig<SecurityAnswerVerificationConfig>
org.forgerock.selfservice.stages.kba.SecurityAnswerVerificationConfig
- All Implemented Interfaces:
StageConfig
public final class SecurityAnswerVerificationConfig
extends AbstractKbaStageConfig<SecurityAnswerVerificationConfig>
Configuration for the KBA Security Answer Verification Stage.
- Since:
- 0.2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityAnswerVerificationConfig(KbaConfig kbaConfig) Creates a new SecurityAnswerVerificationConfig. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the URL for the identity service.getName()Gets the name of the stage configuration.intGets the number of questions that user must answer.Gets the class name of the consuming progress stage.inthashCode()self()Returns this object, as its actual type.setIdentityServiceUrl(String identityServiceUrl) Sets the URL for the identity service.setNumberOfQuestionsUserMustAnswer(int numberOfQuestionsUserMustAnswer) Sets the number of questions that user must answer.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
-
SecurityAnswerVerificationConfig
Creates a new SecurityAnswerVerificationConfig.- Parameters:
kbaConfig- the kba configuration
-
-
Method Details
-
getIdentityServiceUrl
Gets the URL for the identity service.- Returns:
- the identity service URL
-
setIdentityServiceUrl
Sets the URL for the identity service.- Parameters:
identityServiceUrl- the identity service URL- Returns:
- this config instance
-
getNumberOfQuestionsUserMustAnswer
public int getNumberOfQuestionsUserMustAnswer()Gets the number of questions that user must answer.- Returns:
- the number of questions to be answered
-
setNumberOfQuestionsUserMustAnswer
public SecurityAnswerVerificationConfig setNumberOfQuestionsUserMustAnswer(int numberOfQuestionsUserMustAnswer) Sets the number of questions that user must answer.- Parameters:
numberOfQuestionsUserMustAnswer- the number of questions to be answered- 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<SecurityAnswerVerificationConfig>- Returns:
- this object
-
equals
- Overrides:
equalsin classAbstractKbaStageConfig<SecurityAnswerVerificationConfig>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractKbaStageConfig<SecurityAnswerVerificationConfig>
-