Package adalid.jee2

Class StrongPasswordValidatorRules

java.lang.Object
adalid.jee2.StrongPasswordValidatorRules

public class StrongPasswordValidatorRules extends Object
Author:
Jorge Campins
  • Field Details

    • minimumLength

      public int minimumLength
      Specifies the minimum length of a password.
    • maximumLength

      public int maximumLength
      Specifies the maximum length of a password.
    • minimumUpperCaseNumber

      public int minimumUpperCaseNumber
      Specifies the minimum number of uppercase characters that a password must have.
    • minimumLowerCaseNumber

      public int minimumLowerCaseNumber
      Specifies the minimum number of lowercase characters that a password must have.
    • minimumDigitNumber

      public int minimumDigitNumber
      Specifies the minimum number of digits that a password must have.
    • minimumSpecialNumber

      public int minimumSpecialNumber
      Specifies the minimum number of special characters that a password must have.
    • maximumRepeatingCharacters

      public int maximumRepeatingCharacters
      Specifies the maximum number of consecutive repeated characters that a password can have.
    • maximumAlphabeticalSequence

      public int maximumAlphabeticalSequence
      Specifies the maximum number of consecutive alphabetical sequences that a password can have.
    • maximumNumericalSequence

      public int maximumNumericalSequence
      Specifies the maximum number of consecutive numeric sequences that a password can have.
    • maximumKeyboardSequence

      public int maximumKeyboardSequence
      Specifies the maximum number of consecutive keyboard sequences that a password can have.
    • rangeLowerBound

      public int rangeLowerBound
      Specifies the lower bound of the number range that a password can have.
    • rangeUpperBound

      public int rangeUpperBound
      Specifies the upper bound of the number range that a password can have.
    • passwordHistorySize

      public int passwordHistorySize
      Specifies the the number of previous passwords that a user cannot reuse.
    • prohibitSpaces

      public boolean prohibitSpaces
      Specifies whether a password can have spaces or not.
    • prohibitUserCode

      public boolean prohibitUserCode
      Specifies whether a password can contain the user code or not.
    • prohibitUserSubstrings

      public boolean prohibitUserSubstrings
      Specifies whether a password can contain substrings (parts) of the user name or not.
    • enabled

      public boolean enabled
      Specifies whether the password validator is enabled or not.
  • Constructor Details

    • StrongPasswordValidatorRules

      public StrongPasswordValidatorRules()
  • Method Details

    • getMinimumLength

      public int getMinimumLength()
    • getMaximumLength

      public int getMaximumLength()
    • getMinimumUpperCaseNumber

      public int getMinimumUpperCaseNumber()
    • getMinimumLowerCaseNumber

      public int getMinimumLowerCaseNumber()
    • getMinimumDigitNumber

      public int getMinimumDigitNumber()
    • getMinimumSpecialNumber

      public int getMinimumSpecialNumber()
    • getMaximumRepeatingCharacters

      public int getMaximumRepeatingCharacters()
    • getMaximumAlphabeticalSequence

      public int getMaximumAlphabeticalSequence()
    • getMaximumNumericalSequence

      public int getMaximumNumericalSequence()
    • getMaximumKeyboardSequence

      public int getMaximumKeyboardSequence()
    • getRangeLowerBound

      public int getRangeLowerBound()
    • getRangeUpperBound

      public int getRangeUpperBound()
    • getPasswordHistorySize

      public int getPasswordHistorySize()
    • getProhibitedSubstrings

      public Set<String> getProhibitedSubstrings()
    • prohibit

      public boolean prohibit()
    • prohibit

      public boolean prohibit(String... substrings)
    • prohibit

      public boolean prohibit(Collection<String> substrings)
    • isProhibitSpaces

      public boolean isProhibitSpaces()
    • isProhibitUserCode

      public boolean isProhibitUserCode()
    • isProhibitUserSubstrings

      public boolean isProhibitUserSubstrings()
    • isEnabled

      public boolean isEnabled()