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
-
-
Constructor Summary
Constructors Constructor Description CaptchaStageConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Gets the name of the stage configuration.String
getProgressStageClassName()
Gets the class name of the consuming progress stage.String
getRecaptchaSecretKey()
Gets the secret key for re-captcha.String
getRecaptchaSiteKey()
Gets the site key for re-captcha.String
getRecaptchaUri()
Gets the uri for verifying recaptcha.int
hashCode()
CaptchaStageConfig
setRecaptchaSecretKey(String recaptchaSecretKey)
Sets the secret key for re-captcha.CaptchaStageConfig
setRecaptchaSiteKey(String recaptchaSiteKey)
Sets the site key for re-captcha.CaptchaStageConfig
setRecaptchaUri(String recaptchaUri)
Sets the uri for verifying recaptcha.
-
-
-
Field Detail
-
NAME
public static final String NAME
Name of the stage configuration.- See Also:
- Constant Field Values
-
-
Method Detail
-
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 interfaceStageConfig
- 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 interfaceStageConfig
- Returns:
- the progress stage class name
-
-