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:
  • Constructor Details

    • AccountManagementRegistrationCoreProperties

      public AccountManagementRegistrationCoreProperties()
  • Method Details

    • getRegistrationProperties

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

      public String getExpiration()
      How long in minutes should the registration link remain valid.
    • getPasswordPolicyPattern

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

      public AccountManagementRegistrationCoreProperties setExpiration(String expiration)
      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

      Crypto settings on how to generate registration requests.
      Returns:
      this.