Class PasswordPolicyConfiguration

java.lang.Object
com.atlassian.crowd.embedded.api.PasswordPolicyConfiguration

public class PasswordPolicyConfiguration extends Object
Password policy configuration for an internal directory. This configuration is translated into 2 PasswordConstraints, CharacterClassConstraint and PasswordLengthConstraint
Since:
5.3.0
  • Constructor Details

    • PasswordPolicyConfiguration

      public PasswordPolicyConfiguration()
  • Method Details

    • getPreset

    • getMinimumLength

      public Integer getMinimumLength()
    • getMinimumLowercase

      public Integer getMinimumLowercase()
    • getMinimumUppercase

      public Integer getMinimumUppercase()
    • getMinimumDigits

      public Integer getMinimumDigits()
    • getMinimumSpecialCharacters

      public Integer getMinimumSpecialCharacters()
    • getMinimumRulesMatched

      public Integer getMinimumRulesMatched()
    • setPreset

      public void setPreset(PasswordPolicyConfigurationPreset preset)
    • setMinimumLength

      public void setMinimumLength(Integer minimumLength)
    • setMinimumLowercase

      public void setMinimumLowercase(Integer minimumLowercase)
    • setMinimumUppercase

      public void setMinimumUppercase(Integer minimumUppercase)
    • setMinimumDigits

      public void setMinimumDigits(Integer minimumDigits)
    • setMinimumSpecialCharacters

      public void setMinimumSpecialCharacters(Integer minimumSpecialCharacters)
    • setMinimumRulesMatched

      public void setMinimumRulesMatched(Integer minimumRulesMatched)
    • builder

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object