Creating a Configuration for the Sample Stage

To create a configuration for this stage, examine the configuration class ( Three configuration properties must be specified in the corresponding configuration file:

  • class

    For the default IDM self-service stages, you specify the stage name in the configuration, in the format "name" : "stage-name". For example:

    "name" : "captcha"

    For custom stages, you must specify the stage configuration class, in the format "class" : "stage_config_classname". For example:

    "class" : "org.forgerock.selfservice.custom.MathProblemStageConfig"

  • leftValue

  • rightValue

The configuration for this stage will therefore look something like the following:

    "class" : "org.forgerock.selfservice.custom.MathProblemStageConfig",
    "leftValue" : int,
    "rightValue" : int
Read a different version of :