Class ResetPasswordManagementProperties

java.lang.Object
org.apereo.cas.configuration.model.support.pm.ResetPasswordManagementProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-pm-webflow") public class ResetPasswordManagementProperties extends Object implements CasFeatureModule, Serializable
Since:
6.4.0
See Also:
  • Constructor Details

    • ResetPasswordManagementProperties

      public ResetPasswordManagementProperties()
  • Method Details

    • getCrypto

      Crypto settings on how to reset the password.
    • getMail

      public EmailProperties getMail()
      Email settings for notifications.
    • getSms

      public SmsProperties 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

      public String 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

      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

      public ResetPasswordManagementProperties setIncludeServerIpAddress(boolean includeServerIpAddress)
      Whether the Password Management Token will contain the server IP Address.
      Returns:
      this.
    • setIncludeClientIpAddress

      public ResetPasswordManagementProperties setIncludeClientIpAddress(boolean includeClientIpAddress)
      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

      public ResetPasswordManagementProperties setExpiration(String expiration)
      How long in minutes should the password expiration link remain valid.
      Returns:
      this.
    • setNumberOfUses

      public ResetPasswordManagementProperties setNumberOfUses(int numberOfUses)
      How many times you can use the password reset link. Stricly lower than 1 means infinite.
      Returns:
      this.