public interface TransformationProvider
ProvisioningFormatProvider
and sending it to the
target application using ProvisioningTransportProvider
.
During reconciliation, the implementation layer would deal with transformation of data
after getting the validated Oracle Identity Manager-compliant output of appropriate ReconTransportProvider
and
ReconFormatProvider
.
Examples of the implementation for this layer would be
Concatenation, SubString and Translation(Replace X With Y).
All the methods of this interface throw ProviderException
. The implementations of this
interface should utilize this fact to wrap all possible exceptions ultimately in an instance
of a ProviderException.ProviderException
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transformData(java.util.Hashtable input,
java.util.Hashtable utils)
This method transforms the input data to a form that is different from the source.
|
java.lang.String transformData(java.util.Hashtable input, java.util.Hashtable utils) throws ProviderException
input
- contains the input field-value pairs which are
a) candidate for transformation and
b) arguments required by this transformation
Both these things should be retrieved from this Hashtable, by explicitly using the parameter name
as Keys. These parameters names are exactly the same as those defined in the provider xml file.utils
- contains the reference to factory object for obtaining an Oracle Identity Manager API Instance.
This might be useful for those transformation implementations that want to retrieve an
Oracle Identity Manager entity value(s) for executing some business logic. For example, Encoded and Decoded value pairs
of an Oracle Identity Manager Lookup Definition.
Relevant Sample code:
Iterator itr = utils.keySet().iterator();
String key = (String) itr.next();
TransformationSource source=(TransformationSource)utils.get(key);
tcLookupOperationsIntf lookupIntf = (tcLookupOperationsIntf)source.getUtility("Thor.API.Operations.tcLookupOperationsIntf");ProviderException
TransformationSource
,
GCSource