Sun Identity Manager Deployment Reference

Default Password Policy Display

By default, Identity Manager displays password policy information on the Accounts > Identity tab, as shown below.

To move the password fields from their default position on the Identity area to the Attribute area, you must disable the default Identity Manager password synchronization mechanism by following these three steps:

ProcedureTo Move the Password Fields from Their Default Position

  1. Set the manualPasswordSynchronization checkout property

  2. Add Field and FieldLoop components to the Tabbed User form

  3. Add resource-specific password fields to the Tabbed User form

    These steps are described in more detail below.

Step One: Set the manualPasswordSynchronization Checkout Property

Specify the manualPasswordSynchronization view check out option by adding the following property to the form:

<Form>
   <Properties>
     <Property name=’manualPasswordSynchronization’ value=’true’/>
...
   </Properties>
...
</Form>

When manualPasswordSynchronization is set to true, Identity Manager displays per-resource password fields rather than using the password synchronizer.

Step Two: Turn Off Password Synchronization

You can disable password synchronization by turning off the selectAll flag under the Password view. To do this, add the following fields to the default forms:

<Field name=’password.selectAll’>
   <Comments>
    Force the selectAll flag off so we do not attempt synchronization.
    Necessary because it sometimes is set to true by the view handler.
   </Comments>
     <Expansion><s>false</s></Expansion>
</Field>
   <FieldLoop for=’res’>
     <expression>
       <remove>
          <ref>password.targets</ref>
          <s>Lighthouse</s>
       </remove>
     </expression>
   <Comments>
   Also must force the individual selection flags to false and display
   a password prompt for each resource since the view handler will
   default to true for new accounts.
   </Comments>
   <Field name=’password.accounts[$(res)].selected’>
   <Expansion><s>false</s></Expansion>
   </Field>
</FieldLoop>

Step Three: Add Resource-Specific Password Fields to Attributes Page

Write resource specific password fields for each resource as follows:

<Field name=’accounts[resname].password’>