Class CaptchaStageConfig

java.lang.Object
org.forgerock.selfservice.stages.captcha.CaptchaStageConfig
All Implemented Interfaces:
StageConfig

public final class CaptchaStageConfig extends Object implements StageConfig
Configuration for the captcha stage.
Since:
0.2.0
  • Field Details

  • Constructor Details

    • CaptchaStageConfig

      public CaptchaStageConfig()
  • Method Details

    • getRecaptchaUri

      public String getRecaptchaUri()
      Gets the uri for verifying recaptcha.
      Returns:
      the uri
    • setRecaptchaUri

      public CaptchaStageConfig setRecaptchaUri(String recaptchaUri)
      Sets the uri for verifying recaptcha.
      Parameters:
      recaptchaUri - the uri
      Returns:
      this config instance
    • getRecaptchaSiteKey

      public String getRecaptchaSiteKey()
      Gets the site key for re-captcha.
      Returns:
      the site key
    • setRecaptchaSiteKey

      public CaptchaStageConfig setRecaptchaSiteKey(String recaptchaSiteKey)
      Sets the site key for re-captcha.
      Parameters:
      recaptchaSiteKey - the site key
      Returns:
      this config instance
    • getRecaptchaSecretKey

      public String getRecaptchaSecretKey()
      Gets the secret key for re-captcha.
      Returns:
      the secret key
    • setRecaptchaSecretKey

      public CaptchaStageConfig setRecaptchaSecretKey(String recaptchaSecretKey)
      Sets the secret key for re-captcha.
      Parameters:
      recaptchaSecretKey - the secret key
      Returns:
      this config instance
    • getName

      public String getName()
      Description copied from interface: StageConfig
      Gets the name of the stage configuration.
      Specified by:
      getName in interface StageConfig
      Returns:
      the config name
    • getProgressStageClassName

      public String getProgressStageClassName()
      Description copied from interface: StageConfig
      Gets the class name of the consuming progress stage.
      Specified by:
      getProgressStageClassName in interface StageConfig
      Returns:
      the progress stage class name
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object