Purpose

Describes the rules implemented for the password policy.

Syntax


"rules": [
  {
    "title": "rule1_title",
    "ruleId": rule1_id,
    "ruleName": "rule1_name",
    "property": property_value
  },
  ...
]
Property Description Valid Values
"title" The rule title The title of the rule. For the custom password policy, this may be a user-defined title.
"ruleId" The rule ID The unique ID for each rule. The IDs for the rules are:

pwdLengthRule specifies the minimum and maximum length of a password.

upperCaseCharacterRule requires the use of one or more uppercase letters.

lowerCaseCharacterRule requires the use of one or more lowercase letters.

numericCharacterRule requires the use of one or more numbers.

specialCharacterRule requires the use of one or more special characters.

"ruleName" The rule name Predefined names for each of the supported rules. The names of the rules are:

PASSWORD_LENGTH_RULE specifies the minimum and maximum length of a password.

UPPER_CLASS_RULE requires the use of one or more uppercase letters.

LOWER_CLASS_RULE requires the use of one or more lowercase letters.

NUMERIC_CLASS_RULE requires the use of one or more numbers.

SPECIAL_CLASS_RULE requires the use of one or more special characters.

property A property that defines the rule One or more properties that define the rule. For example, the minimum and maximum number of characters for the password length rule is specified with the minLength and maxLength properties. The minChars property specifies the minimum number of characters required for the uppercase, lowercase, number, and special character rules.