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