Class CaptchaStageConfig
java.lang.Object
org.forgerock.selfservice.stages.captcha.CaptchaStageConfig
- All Implemented Interfaces:
StageConfig
Configuration for the captcha stage.
- Since:
- 0.2.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Gets the name of the stage configuration.Gets the class name of the consuming progress stage.Gets the secret key for re-captcha.Gets the site key for re-captcha.Gets the uri for verifying recaptcha.inthashCode()setRecaptchaSecretKey(String recaptchaSecretKey) Sets the secret key for re-captcha.setRecaptchaSiteKey(String recaptchaSiteKey) Sets the site key for re-captcha.setRecaptchaUri(String recaptchaUri) Sets the uri for verifying recaptcha.
-
Field Details
-
NAME
Name of the stage configuration.- See Also:
-
-
Constructor Details
-
CaptchaStageConfig
public CaptchaStageConfig()
-
-
Method Details
-
getRecaptchaUri
Gets the uri for verifying recaptcha.- Returns:
- the uri
-
setRecaptchaUri
Sets the uri for verifying recaptcha.- Parameters:
recaptchaUri- the uri- Returns:
- this config instance
-
getRecaptchaSiteKey
Gets the site key for re-captcha.- Returns:
- the site key
-
setRecaptchaSiteKey
Sets the site key for re-captcha.- Parameters:
recaptchaSiteKey- the site key- Returns:
- this config instance
-
getRecaptchaSecretKey
Gets the secret key for re-captcha.- Returns:
- the secret key
-
setRecaptchaSecretKey
Sets the secret key for re-captcha.- Parameters:
recaptchaSecretKey- the secret key- Returns:
- this config instance
-
getName
Description copied from interface:StageConfigGets the name of the stage configuration.- Specified by:
getNamein interfaceStageConfig- Returns:
- the config name
-
getProgressStageClassName
Description copied from interface:StageConfigGets the class name of the consuming progress stage.- Specified by:
getProgressStageClassNamein interfaceStageConfig- Returns:
- the progress stage class name
-
equals
-
hashCode
public int hashCode()
-