# generated-password

<generated-password> is used:

- As an event notification on the Subscriber channel that indicates some entity generated a password for an object. The event is designed to be used with the Identity Manager 3.5 and later password generation job. The <generated-password> element may contain an <association>. If an association is present then the event is converted by the DirXML Engine into a <modify-password> command. If no association is present the the DirXML Engine converts the generated-password event into a synthetic <add>.
- As an event notification on the Publisher channel that indicates the driver shim or application generated a password for an object. The generated-password event on the Publisher channel must contain an <association>.

<generated-password> will contain a <password> containing the generated password value.

Example

>     <generated-password class-name="User" src-dn="\Sam">
>       <association>1012</association>
>       <password>somevalue</password>
>     </generated-password>

## 1. Allowed Content

> association
>   Unique key of the application object.
> password
>   The authentication password.

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> class-name | CDATA The name of the base class of the object. The class name is mapped between the application and eDirectory name spaces by the schema mapping rule so that DirXML will see the name in the eDirectory namespace and a driver will see the name in the application name space. Required | #IMPLIED
> dest-dn | CDATA The distinguished name of the target object in the namespace of the receiver. (Reserved) Used internally by the DirXML Engine. | #IMPLIED
> dest-entry-id | CDATA The entry id of the target object in the namespace of the receiver. (Reserved) Used internally by the DirXML Engine. | #IMPLIED
> event-id | CDATA An identifier used to tag the results of an event or command. | #IMPLIED
> qualified-src-dn | CDATA The qualified version of src-dn. Only used for describing objects from eDirectory. | #IMPLIED
> src-dn | CDATA The distinguished name of source object that generated the event in the namespace of the sender. | #IMPLIED
> src-entry-id | CDATA The entry id of source object that generated the event in the namespace of the sender. (Reserved) Used internally by the DirXML Engine. | #IMPLIED
> timestamp | CDATA (Reserved) Should be ignored by the driver. | #IMPLIED

## 3. Content Rule

> ( association ? , password )

## 4. Parent Elements

> input
>   Input events or commands.

Top Elements || All Elements || Tree