---
title: Password Generator
description: This is an abstract object type that cannot be instantiated.
component: pingds
version: 8.1
page_id: pingds:configref:objects-password-generator
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/objects-password-generator.html
section_ids:
  password_generators: Password Generators
  dependencies: Dependencies
  password_generator_properties: Password Generator properties
  basic_properties: Basic properties
  enabled: enabled
  java-class: java-class
---

# Password Generator

*This is an abstract object type that cannot be instantiated.*

Password Generators are used by the password modify extended operation to construct a new password for the user.

The server allows any number of password validators to be defined. This can impose any kinds of restrictions on the characteristics of valid passwords. Therefore, it is not feasible for the server to attempt to generate a password on its own that will meet all the requirements of all the validators. The password generator makes it possible to provide custom logic for creating a new password.

## Password Generators

The following Password Generators are available:

* [Random Password Generator](objects-random-password-generator.html)

These Password Generators inherit the properties described below.

## Dependencies

The following objects depend on Password Generators:

* [Password Policy](objects-password-policy.html)

## Password Generator properties

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

| Basic Properties                              |
| --------------------------------------------- |
| [enabled](#enabled) [java-class](#java-class) |

### Basic properties

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

### enabled

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

### java-class

|                         |                                                                                                           |
| ----------------------- | --------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies the fully-qualified name of the Java class that provides the Password Generator implementation. |
| *Default value*         | None                                                                                                      |
| *Allowed values*        | A Java class that extends or implements:- org.opends.server.api.PasswordGenerator                         |
| *Multi-valued*          | No                                                                                                        |
| *Required*              | Yes                                                                                                       |
| *Admin action required* | None                                                                                                      |
| *Advanced*              | No                                                                                                        |
| *Read-only*             | No                                                                                                        |
