Skip Headers
Oracle® Identity Manager Connector Guide for Microsoft Active Directory
Release 9.0.3

Part Number B32355-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

C Code for a Sample Transformation Class

In this connector, a feature has been introduced for transformation of reconciled data according to your requirement. This has been described earlier in this guide along with the discussion on the TransformLookupCode attribute.

If you want to apply a certain transformation on a specific attribute, then you must incorporate the required logic in a Java class. Such a transformation class must implement the com.thortech.xl.schedule.tasks.AttributeTransformer interface and the transform method.

The following is one such sample class.

package com.thortech.xl.schedule.tasks;
 
public class AttributeTransformer implements AttributeTransformer {        
           public AttributeTransformer(){
           }
           /**
                * @param inValue: This is the input string to be transformed.
                * @return String: This is the string that is returned.
           */
                public String transform(String inValue){
                              return inValue;
                }
}

This sample class contains the method that must be implemented for reconciliation. The method defined in this class accepts, transforms, and returns a string value.