Adding a customized password generator

You can add a customized password generator for creating passwords with the Identity Manager Server.

Before you begin

Depending on how your system administrator customized your system, you might not have access to this task. To obtain access to this task or to have someone complete it for you, contact your system administrator.

Procedure

  1. Create a customized password generator class that implements the com.ibm.passwordrules.PasswordGenerator interface.
  2. Register the customized password generator class. The customized password generator might be used by adding a line to the passwordrules.properties file.
    For example:
    generator.ibm.tivoli.itim.CustomGenerator
    In this example, generator is the required prefix followed by the fully qualified name of the password generator class. Both parts constitute the entire property key of a customized generator. Initialization parameters can be passed to the customized generator by specifying a value for the property, as in the following example:
    generator.ibm.tivoli.itim.CustomGenerator=value1?value2
    This value must be defined in a format that is expected by the initialize() method of the generator. If the author of a customized generator class chooses not to do any initialization, the property value is ignored by the initialize method of the generator class.
    Note: Any password generator, including the built-in one, has a global scope, and is the only one that generates passwords for accounts of all service types.