Previous Topic: How to Enable Support for Mandatory Attributes on Endpoints other than JDBC EndpointsNext Topic: Change the Default Value Used to Store an Empty Value


Configure CA IAM Connector Server to Load the NullValueClassConverter

The NullValueClassConverter plugin is shipped with the JDBC connector. To use the NullValueClassConverter for endpoints other than JDBC endpoints, configure CA IAM Connector Server to load the converter.

Note: The converter is loaded automatically for JDBC endpoints.

Note: The property metadataPropNames has a value of useSpecialNullValue. Add the metadataPropNames metadata attribute to the Connector Xpress Dyn mapping for each attribute that the plugin handles. CA IAM Connector Server checks for the presence of this metadata attribute before enabling the plugin.

To enable the plugin, configure the plugin in an override connector.xml for your endpoint.

Follow these steps:

  1. Rename the file SAMPLE.connector.xml in C:\Program Files\CA\Identity Manager\Connector Server\conf\override\jdbc to connector.xml.
  2. Add the following entries in the connector.xml file:

    <property name="classPluginConfigs">

    <list>

    <bean class="com.ca.jcs.cfg.MetaPluginConfig">

    <property name="pluginClass">

    <value>com.ca.jcs.converter.meta.NullValueClassConverter</value>

    </property>

    <property name="pluginConfig">

    <bean class="com.ca.jcs.converter.meta.NullValueClassConverter$NullValueConverterConfig">

    <property name="nullValue">

    <value> </value>

    </property>

    </bean>

    </property>

    <property name="metadataPropNames">

    <list>

    <value>useSpecialNullValue</value>

    </list>

    </property>

    </bean>

    </list>

    </property>

    Note: The property nullValue in the pluginConfig class in the NullValueClassConverter is set to a space by default. To change the null value that the plugin uses, change the nullValue in the config bean.