Sun Identity Manager 8.1 Resources Reference

ProcedureDisabling Cascade Drops

  1. Add an entry to updatableAttributes section of System Configuration Object:


    <Attribute name=’Delete’>
       <Object>
          <Attribute name=’all’>
             <List>
                <String>noCascade</String>
             </List>
          </Attribute>
       </Object>
    </Attribute>
  2. Add a field to the deprovision form:


    <Field name=’resourceAccounts.currentResourceAccounts
    [MyOracleResource].attributes.noCascade’>
       <Display class=’Checkbox’>
          <Property name=’title’ value=’Do NOT Cascade MyOracleResource Delete’/>
          <Property name=’alignment’ value=’left’/>
       </Display>
       <Disable>
          <isnull>
             <ref>resourceAccounts.currentResourceAccounts[MyOracleResource]</ref>
          </isnull>
       </Disable>
    </Field>
  3. Add the noCascade account attribute to Oracle Resource schema.

    If the user owns objects and the do not cascade option is selected, Oracle will throw an error. The user will not be deleted.

  4. Add a noCascade field to the user form so that the attribute can be disabled. For example:


    <Field name=’global.noCascade’>
       <Disable>
          <s>TRUE</s>
       </Disable>
    </Field>