Class UserRegistrationConsoleConfig
java.lang.Object
org.forgerock.openam.selfservice.config.beans.UserRegistrationConsoleConfig
- All Implemented Interfaces:
SelfServiceConsoleConfig
Represents user registration console configuration.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeAsSet
(String key) Retrieves the underlying console attribute for the key.final String
Retrieves the underlying console attribute for the key.final String
Gets the captcha secret key.final String
Gets the captcha site key.final String
Gets the captcha verification URL.final String
Gets the email attribute name.getEmailVerificationUrl
(String realm) Gets the verification Url to be sent with the email body.final String
Gets the encryption key pair alias.Gets the map of locales to email body text strings.int
Get the minimum count of answers to define.Gets the security questions.final String
Gets the signing secret key alias.Gets the map of locales to subject strings.long
Gets the token expiry time in seconds.org.forgerock.openam.selfservice.config.beans.RegistrationDestination
Gets the user registration destination.boolean
Whether the captcha stage is enabled.boolean
Whether email verification is enabled.boolean
Whether email verification before user detail option is enabled.boolean
Whether the service is enabled.boolean
Whether the KBA stage is enabled.
-
Method Details
-
getConfigProviderClass
-
isEnabled
public boolean isEnabled()Whether the service is enabled.- Returns:
- whether the service is enabled
-
isEmailEnabled
public boolean isEmailEnabled()Whether email verification is enabled.- Returns:
- whether email verification is enabled
-
isEmailVerificationFirstEnabled
public boolean isEmailVerificationFirstEnabled()Whether email verification before user detail option is enabled.- Returns:
- whether email verification before user detail option is enabled
-
getTokenExpiry
public long getTokenExpiry()Gets the token expiry time in seconds.- Returns:
- the token expiry time
-
isCaptchaEnabled
public boolean isCaptchaEnabled()Whether the captcha stage is enabled.- Returns:
- whether the captcha stage is enabled
-
isKbaEnabled
public boolean isKbaEnabled()Whether the KBA stage is enabled.- Returns:
- whether the KBA stage is enabled
-
getSubjectTranslations
Gets the map of locales to subject strings.- Returns:
- the map of locales to subject text strings.
-
getMessageTranslations
Gets the map of locales to email body text strings.- Returns:
- the map of locales to email body text strings.
-
getEmailVerificationUrl
Gets the verification Url to be sent with the email body.- Parameters:
realm
- the absolute realm- Returns:
- email verification Url
-
getMinimumAnswersToDefine
public int getMinimumAnswersToDefine()Get the minimum count of answers to define.- Returns:
- minimum count
-
getUserRegistrationDestination
public org.forgerock.openam.selfservice.config.beans.RegistrationDestination getUserRegistrationDestination()Gets the user registration destination.- Returns:
- user registration destination
-
getEncryptionKeyPairAlias
Gets the encryption key pair alias.- Returns:
- the encryption key pair alias
-
getSigningSecretKeyAlias
Gets the signing secret key alias.- Returns:
- the signing secret key alias
-
getCaptchaSiteKey
Gets the captcha site key.- Returns:
- the captcha site key
-
getCaptchaSecretKey
Gets the captcha secret key.- Returns:
- the captcha secret key
-
getCaptchaVerificationUrl
Gets the captcha verification URL.- Returns:
- the captcha verification URL
-
getSecurityQuestions
Gets the security questions. Expected format:Map<id,Map<locale,question>>
- Returns:
- security questions
-
getEmailAttributeName
Gets the email attribute name.- Returns:
- the email attribute name
-
getAttributeAsString
Retrieves the underlying console attribute for the key.- Parameters:
key
- console attribute key- Returns:
- corresponding string value
-
getAttributeAsSet
Retrieves the underlying console attribute for the key.- Parameters:
key
- console attribute key- Returns:
- corresponding set value
-