Class ResetPasswordManagementProperties
java.lang.Object
org.apereo.cas.configuration.model.support.pm.ResetPasswordManagementProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-pm-webflow")
public class ResetPasswordManagementProperties
extends Object
implements Serializable
This is
ResetPasswordManagementProperties
.- Since:
- 6.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCrypto settings on how to reset the password.How long in minutes should the password expiration link remain valid.getMail()
Email settings for notifications.int
How many times you can use the password reset link.getSms()
SMS settings for notifications.boolean
Whether the Password Management Token will contain the client IP Address.boolean
Whether the Password Management Token will contain the server IP Address.boolean
Controls whether password reset operations must activate and support a multifactor authentication flow based on the set of available MFA providers that are configured and active, before reset instructions can be shared and sent.boolean
Whether reset operations require security questions, or should they be marked as optional.Crypto settings on how to reset the password.setExpiration
(String expiration) How long in minutes should the password expiration link remain valid.setIncludeClientIpAddress
(boolean includeClientIpAddress) Whether the Password Management Token will contain the client IP Address.setIncludeServerIpAddress
(boolean includeServerIpAddress) Whether the Password Management Token will contain the server IP Address.setMail
(EmailProperties mail) Email settings for notifications.setMultifactorAuthenticationEnabled
(boolean multifactorAuthenticationEnabled) Controls whether password reset operations must activate and support a multifactor authentication flow based on the set of available MFA providers that are configured and active, before reset instructions can be shared and sent.setNumberOfUses
(int numberOfUses) How many times you can use the password reset link.setSecurityQuestionsEnabled
(boolean securityQuestionsEnabled) Whether reset operations require security questions, or should they be marked as optional.setSms
(SmsProperties sms) SMS settings for notifications.
-
Constructor Details
-
ResetPasswordManagementProperties
public ResetPasswordManagementProperties()
-
-
Method Details
-
getCrypto
Crypto settings on how to reset the password. -
getMail
Email settings for notifications. -
getSms
SMS settings for notifications. -
isSecurityQuestionsEnabled
public boolean isSecurityQuestionsEnabled()Whether reset operations require security questions, or should they be marked as optional. -
isIncludeServerIpAddress
public boolean isIncludeServerIpAddress()Whether the Password Management Token will contain the server IP Address. -
isIncludeClientIpAddress
public boolean isIncludeClientIpAddress()Whether the Password Management Token will contain the client IP Address. -
isMultifactorAuthenticationEnabled
public boolean isMultifactorAuthenticationEnabled()Controls whether password reset operations must activate and support a multifactor authentication flow based on the set of available MFA providers that are configured and active, before reset instructions can be shared and sent. -
getExpiration
How long in minutes should the password expiration link remain valid. -
getNumberOfUses
public int getNumberOfUses()How many times you can use the password reset link. Stricly lower than 1 means infinite. -
setCrypto
public ResetPasswordManagementProperties setCrypto(EncryptionJwtSigningJwtCryptographyProperties crypto) Crypto settings on how to reset the password.- Returns:
this
.
-
setMail
Email settings for notifications.- Returns:
this
.
-
setSms
SMS settings for notifications.- Returns:
this
.
-
setSecurityQuestionsEnabled
public ResetPasswordManagementProperties setSecurityQuestionsEnabled(boolean securityQuestionsEnabled) Whether reset operations require security questions, or should they be marked as optional.- Returns:
this
.
-
setIncludeServerIpAddress
Whether the Password Management Token will contain the server IP Address.- Returns:
this
.
-
setIncludeClientIpAddress
Whether the Password Management Token will contain the client IP Address.- Returns:
this
.
-
setMultifactorAuthenticationEnabled
public ResetPasswordManagementProperties setMultifactorAuthenticationEnabled(boolean multifactorAuthenticationEnabled) Controls whether password reset operations must activate and support a multifactor authentication flow based on the set of available MFA providers that are configured and active, before reset instructions can be shared and sent.- Returns:
this
.
-
setExpiration
How long in minutes should the password expiration link remain valid.- Returns:
this
.
-
setNumberOfUses
How many times you can use the password reset link. Stricly lower than 1 means infinite.- Returns:
this
.
-