Update the web.xml file.
In order for CMS to work with your custom plug-in, you will need to update the web.xml file with the appropriate parameters. Use the following pseudocode as an example:
<init-param>
<param-name>CMPICredentialMappers</param-name>
<param-value>CMPISamplePlugin</param-value>
</init-param>
<!-- //// Optional Trace parameters //// -->
<init-param>
<param-name>CMPI_TRACE_LOG_FILE</param-name>
<param-value>C:\Program Files\HCL\Z and I Emulator for Web\ZIEWeb\WEL.log</param-value>
<description>Credential Mapper Log file name.</description>
</init-param>
<init-param>
<param-name>CMPI_CMS_TRACE_LEVEL</param-name>
<param-value>2</param-value>
<description>CMS Trace level. 0=none, 1=min, 2=normal, 3=max.</description>
</init-param>
<init-param>
<param-name>CMPI_SAMPLE_TRACE_LEVEL</param-name>
<param-value>2</param-value>
<description>HCM Sample Trace level. 0=none, 1=min, 2=normal, 3=max.</description>
</init-param>
<!-- //// End of Optional Trace parameters //// -->
<!-- // Configuration parameters needed for HCM Sample Plug-in /// -->
<!-- //// Required Parameters //// -->
<!-- The parameter name must match the value specified in -->
<!-- CMPICredentialMappers parameter. -->
<init-param>
<param-name>CMPISamplePlugin</param-name>
<param-value>com.mycompany.CMPISample,
AuthType_3270Host,
*
</param-value>
</init-param>
<!-- //// The Network ID to Host User ID Database Parameters //// -->
<init-param>
<param-name>CMPI_SAMPLE_DB_ADDRESS</param-name>
<param-value>jdbc:odbc:my_db_url</param-value>
<description>URL string that provides the
address of the database.</description>
</init-param>
<init-param>
<param-name>CMPI_SAMPLE_DB_TABLE</param-name>
<param-value>NetIDToHostID</param-value>
<description>The table to be used for querying the database.</description>
</init-param>
<!-- //// TODO: All other parameters added to CMPISample must
also be configured here. See vault.xml for examples. //// -->
<!-- //// End of Network ID to Host User ID Database Parameters //// -->
<!-- //// End of Required Parameters //// -->
<!-- // End of Configuration parameters needed for HCM Sample Plug-in /// -->