Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

Configuring Virtual Data Transformations

You can add a virtual data transformation to any type of data view: an LDAP data view, an LDIF data view, a join data view, or a JDBC data view.

ProcedureTo Add a Virtual Transformation

You cannot use DSCC to perform this task. Use the command line, as described in this procedure.

  1. Add the transformation to a data view.


    $ dpconf add-virtual-transformation -h host -p port view-name \
     transformation-model transformation-action attribute-name [parameters...]

    The transformation-model can be one of the mapping, write, and read transformations.

    The transformation-action can be one of the add-attr, remove-attr, add-attr-value, remove-attr-value, def-value, and attr-value-mapping actions.

    Note that parameters might be mandatory, depending on the transformation-model and the transformation-action.

    For information about transformation models, transformation actions, and transformation parameters, see Virtual Data Transformations in Sun Java System Directory Server Enterprise Edition 6.3 Reference.

  2. (Optional) View the list of virtual transformations that are defined on a data view.

    $ dpconf list-virtual-transformations -h host -p port view-name
    

ProcedureTo Remove a Virtual Transformation

  1. Remove the virtual transformation using the following command.


    dpconf remove-virtual-transformation view_name transformation_name