Interface RegistrationConfiguration
-
@Unstable @Role public interface RegistrationConfigurationDefine the various configuration options for registration.- Since:
- 15.10RC1
- Version:
- $Id: 7822994a21a457f0eb03491073cdcb539a12375a $
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRegistrationConfiguration.PasswordRulesRepresents the rules to apply for creating a new password.
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MINIMUM_PASSWORD_LENGTHDefault minimum password length.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPasswordMinimumLength()Set<RegistrationConfiguration.PasswordRules>getPasswordRules()booleanisAutoLoginEnabled()booleanisCaptchaRequired()booleanisEmailValidationRequired()booleanisLoginEnabled()
-
-
-
Field Detail
-
DEFAULT_MINIMUM_PASSWORD_LENGTH
static final int DEFAULT_MINIMUM_PASSWORD_LENGTH
Default minimum password length.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPasswordMinimumLength
int getPasswordMinimumLength()
- Returns:
- the minimum required length for a new password.
-
getPasswordRules
Set<RegistrationConfiguration.PasswordRules> getPasswordRules()
- Returns:
- the set of rules to comply with for a creating a new password.
-
isCaptchaRequired
boolean isCaptchaRequired()
- Returns:
trueif a CAPTCHA should be solved for registration.
-
isEmailValidationRequired
boolean isEmailValidationRequired()
- Returns:
trueif an email validation needs to be sent for registration.
-
isAutoLoginEnabled
boolean isAutoLoginEnabled()
- Returns:
trueif users don't have to click to login after registration.
-
isLoginEnabled
boolean isLoginEnabled()
- Returns:
trueif there's a mechanism to login in single click after registration.
-
-