---
title: Repeated Characters Password Validator
description: The Repeated Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of times any character appears consecutively in a password value.
component: pingds
version: 8.1
page_id: pingds:configref:objects-repeated-characters-password-validator
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/objects-repeated-characters-password-validator.html
section_ids:
  parent: Parent
  repeated_characters_password_validator_properties: Repeated Characters Password Validator properties
  basic_properties: Basic properties
  case-sensitive-validation: case-sensitive-validation
  enabled: enabled
  max-consecutive-length: max-consecutive-length
  advanced_properties: Advanced properties
  java-class: java-class
---

# Repeated Characters Password Validator

The Repeated Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of times any character appears consecutively in a password value.

It ensures that user passwords do not contain strings of the same character repeated several times, like "aaaaaa" or "aaabbb".

## Parent

The Repeated Characters Password Validator object inherits from [Password Validator](objects-password-validator.html).

## Repeated Characters Password Validator properties

You can use configuration expressions to set property values at startup time. For details, see [Property value substitution](expressions.html).

| Basic Properties                                                                                                              | Advanced Properties       |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| [case-sensitive-validation](#case-sensitive-validation) [enabled](#enabled) [max-consecutive-length](#max-consecutive-length) | [java-class](#java-class) |

### Basic properties

Use the `--advanced` option to access advanced properties.

### case-sensitive-validation

|                         |                                                                                                                                                                                                                                                                                                     |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Indicates whether this password validator should treat password characters in a case-sensitive manner.                                                                                                                                                                                              |
| *Description*           | If the value of this property is false, the validator ignores any differences in capitalization when looking for consecutive characters in the password. If the value is true, the validator considers a character to be repeating only if all consecutive occurrences use the same capitalization. |
| *Default value*         | None                                                                                                                                                                                                                                                                                                |
| *Allowed values*        | truefalse                                                                                                                                                                                                                                                                                           |
| *Multi-valued*          | No                                                                                                                                                                                                                                                                                                  |
| *Required*              | Yes                                                                                                                                                                                                                                                                                                 |
| *Admin action required* | None                                                                                                                                                                                                                                                                                                |
| *Advanced*              | No                                                                                                                                                                                                                                                                                                  |
| *Read-only*             | No                                                                                                                                                                                                                                                                                                  |

### enabled

|                         |                                                              |
| ----------------------- | ------------------------------------------------------------ |
| *Synopsis*              | Indicates whether the password validator is enabled for use. |
| *Default value*         | None                                                         |
| *Allowed values*        | truefalse                                                    |
| *Multi-valued*          | No                                                           |
| *Required*              | Yes                                                          |
| *Admin action required* | None                                                         |
| *Advanced*              | No                                                           |
| *Read-only*             | No                                                           |

### max-consecutive-length

|                         |                                                                                                        |
| ----------------------- | ------------------------------------------------------------------------------------------------------ |
| *Synopsis*              | Specifies the maximum number of times that any character can appear consecutively in a password value. |
| *Description*           | A value of zero indicates that no maximum limit is enforced.                                           |
| *Default value*         | None                                                                                                   |
| *Allowed values*        | An integer.Lower limit: 0.                                                                             |
| *Multi-valued*          | No                                                                                                     |
| *Required*              | Yes                                                                                                    |
| *Admin action required* | None                                                                                                   |
| *Advanced*              | No                                                                                                     |
| *Read-only*             | No                                                                                                     |

## Advanced properties

Use the `--advanced` option to access advanced properties.

### java-class

|                         |                                                                                                           |
| ----------------------- | --------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies the fully-qualified name of the Java class that provides the password validator implementation. |
| *Default value*         | org.opends.server.extensions.RepeatedCharactersPasswordValidator                                          |
| *Allowed values*        | A Java class that extends or implements:- org.opends.server.api.PasswordValidator                         |
| *Multi-valued*          | No                                                                                                        |
| *Required*              | Yes                                                                                                       |
| *Admin action required* | The object must be disabled and re-enabled for changes to take effect.                                    |
| *Advanced*              | Yes                                                                                                       |
| *Read-only*             | No                                                                                                        |
