Class AccountManagementRegistrationCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.account.AccountManagementRegistrationCoreProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-account-mgmt")
public class AccountManagementRegistrationCoreProperties
extends Object
implements CasFeatureModule, Serializable
- Since:
- 6.5.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCrypto settings on how to generate registration requests.How long in minutes should the registration link remain valid.A String value representing password policy regex pattern.Registration properties.int
Whether account registration should present security questions and how many, to complete the registration process.boolean
Whether the registration token will contain the client IP Address.boolean
Whether the registration token will contain the server IP Address.Crypto settings on how to generate registration requests.setExpiration
(String expiration) How long in minutes should the registration link remain valid.setIncludeClientIpAddress
(boolean includeClientIpAddress) Whether the registration token will contain the client IP Address.setIncludeServerIpAddress
(boolean includeServerIpAddress) Whether the registration token will contain the server IP Address.setPasswordPolicyPattern
(String passwordPolicyPattern) A String value representing password policy regex pattern.setRegistrationProperties
(SpringResourceProperties registrationProperties) Registration properties.setSecurityQuestionsCount
(int securityQuestionsCount) Whether account registration should present security questions and how many, to complete the registration process.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
AccountManagementRegistrationCoreProperties
public AccountManagementRegistrationCoreProperties()
-
-
Method Details
-
getRegistrationProperties
Registration properties. -
isIncludeServerIpAddress
public boolean isIncludeServerIpAddress()Whether the registration token will contain the server IP Address. -
isIncludeClientIpAddress
public boolean isIncludeClientIpAddress()Whether the registration token will contain the client IP Address. -
getExpiration
How long in minutes should the registration link remain valid. -
getPasswordPolicyPattern
A String value representing password policy regex pattern. Minimum 8 and Maximum 10 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character. -
getSecurityQuestionsCount
public int getSecurityQuestionsCount()Whether account registration should present security questions and how many, to complete the registration process. -
getCrypto
Crypto settings on how to generate registration requests. -
setRegistrationProperties
public AccountManagementRegistrationCoreProperties setRegistrationProperties(SpringResourceProperties registrationProperties) Registration properties.- Returns:
this
.
-
setIncludeServerIpAddress
public AccountManagementRegistrationCoreProperties setIncludeServerIpAddress(boolean includeServerIpAddress) Whether the registration token will contain the server IP Address.- Returns:
this
.
-
setIncludeClientIpAddress
public AccountManagementRegistrationCoreProperties setIncludeClientIpAddress(boolean includeClientIpAddress) Whether the registration token will contain the client IP Address.- Returns:
this
.
-
setExpiration
How long in minutes should the registration link remain valid.- Returns:
this
.
-
setPasswordPolicyPattern
public AccountManagementRegistrationCoreProperties setPasswordPolicyPattern(String passwordPolicyPattern) A String value representing password policy regex pattern. Minimum 8 and Maximum 10 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character.- Returns:
this
.
-
setSecurityQuestionsCount
public AccountManagementRegistrationCoreProperties setSecurityQuestionsCount(int securityQuestionsCount) Whether account registration should present security questions and how many, to complete the registration process.- Returns:
this
.
-
setCrypto
public AccountManagementRegistrationCoreProperties setCrypto(EncryptionJwtSigningJwtCryptographyProperties crypto) Crypto settings on how to generate registration requests.- Returns:
this
.
-