Previous Topic: How to Enable Support for Mandatory Attributes on Endpoints other than JDBC Endpoints

Next Topic: Change the Default Value Used to Store an Empty Value

Configure the Java 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 the Java 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 to each attribute that plugin handles. The Java 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.

To configure the Java Connector Server to load the NullValueClassConverter

  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 to your class plugin config of your 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 the plugin uses, change the nullValue in the config bean.