Class DictionaryPasswordValidatorCfgDefn

    • Method Detail

      • getInstance

        public static DictionaryPasswordValidatorCfgDefn getInstance()
        Get the Dictionary Password Validator configuration definition singleton.
        Returns:
        Returns the Dictionary Password Validator configuration definition singleton.
      • getCaseSensitiveValidationPropertyDefinition

        public BooleanPropertyDefinition getCaseSensitiveValidationPropertyDefinition()
        Get the "case-sensitive-validation" property definition.

        Indicates whether this password validator is to treat password characters in a case-sensitive manner.

        If it is set to true, then the validator rejects a password only if it appears in the dictionary with exactly the same capitalization as provided by the user.

        Returns:
        Returns the "case-sensitive-validation" property definition.
      • getCheckSubstringsPropertyDefinition

        public BooleanPropertyDefinition getCheckSubstringsPropertyDefinition()
        Get the "check-substrings" property definition.

        Indicates whether this password validator is to match portions of the password string against dictionary words.

        If "false" then only match the entire password against words otherwise ("true") check whether the password contains words.

        Returns:
        Returns the "check-substrings" property definition.
      • getDictionaryFilePropertyDefinition

        public StringPropertyDefinition getDictionaryFilePropertyDefinition()
        Get the "dictionary-file" property definition.

        Specifies the path to the file containing a list of words that cannot be used as passwords.

        It should be formatted with one word per line. The value can be an absolute path or a path that is relative to the OpenDJ instance root.

        Returns:
        Returns the "dictionary-file" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the password validator is enabled for use.

        Returns:
        Returns the "enabled" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the password validator implementation.

        Returns:
        Returns the "java-class" property definition.
      • getMinSubstringLengthPropertyDefinition

        public IntegerPropertyDefinition getMinSubstringLengthPropertyDefinition()
        Get the "min-substring-length" property definition.

        Indicates the minimal length of the substring within the password in case substring checking is enabled.

        If "check-substrings" option is set to true, then this parameter defines the length of the smallest word which should be used for substring matching. Use with caution because values below 3 might disqualify valid passwords.

        Returns:
        Returns the "min-substring-length" property definition.
      • getTestReversedPasswordPropertyDefinition

        public BooleanPropertyDefinition getTestReversedPasswordPropertyDefinition()
        Get the "test-reversed-password" property definition.

        Indicates whether this password validator is to test the reversed value of the provided password as well as the order in which it was given.

        For example, if the user provides a new password of "password" and this configuration attribute is set to true, then the value "drowssap" is also tested against attribute values in the user's entry.

        Returns:
        Returns the "test-reversed-password" property definition.