public final class ForgottenPasswordConsoleConfig extends Object
Modifier and Type | Method and 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 |
getConfigProviderClass() |
String |
getEmailVerificationUrl(String realm)
Gets the verification Url to be sent with the email body.
|
Map<Locale,String> |
getMessageTranslations()
Gets the map of locales to email body text strings.
|
int |
getMinimumAnswersToVerify()
Get the minimum count of questions to verify.
|
int |
getNumberOfAllowedAttempts()
Get the number of allowed attempts to answer security questions correctly.
|
Map<Locale,String> |
getSubjectTranslations()
Gets the map of locales to subject strings.
|
long |
getTokenExpiry()
Gets the token expiry time in seconds.
|
int |
getTokenStatePaddingLength()
Gets the desired length of the JWT to reach with whitespace padding.
|
Set<String> |
getValidQueryAttributes()
Get set of valid query attributes.
|
boolean |
isCaptchaEnabled()
Whether the captcha stage is enabled.
|
boolean |
isEmailEnabled()
Whether email verification is enabled.
|
boolean |
isEnabled()
Whether the service is enabled.
|
boolean |
isKbaEnabled()
Whether the KBA stage is enabled.
|
boolean |
isNumberOfAttemptsEnforced()
Gets whether there is a limit on the number of attempts to answer security questions when a user attempts
to reset their password.
|
public String getConfigProviderClass()
public String getEmailVerificationUrl(String realm)
realm
- the absolute realmpublic int getMinimumAnswersToVerify()
public boolean isNumberOfAttemptsEnforced()
public int getNumberOfAllowedAttempts()
public boolean isEnabled()
public boolean isEmailEnabled()
public long getTokenExpiry()
public int getTokenStatePaddingLength()
public boolean isCaptchaEnabled()
public boolean isKbaEnabled()
public Map<Locale,String> getSubjectTranslations()
public Map<Locale,String> getMessageTranslations()
public Set<String> getValidQueryAttributes()
public final String getAttributeAsString(String key)
key
- console attribute keyCopyright © 2010-2018, ForgeRock All Rights Reserved.