csouidpwd.properties file for remote calls

In a situation described later, you must create and provide access to the file csouidpwd.properties. That file includes authentication details needed for a remote call from a Java™ program or wrapper.

The situation is as follows:

If the invocation of SysLib.setRemoteUser (or the invocation of the appropriate CSOCallOptions method) provides a blank user ID or password, the value of the equivalent property is sought in csouidpwd.properties.

Your task is as follows:
  1. Create the file csouidpwd.properties, which can contain property settings that are formatted as follows, each on a separate line:
    CSOUID=userid
    userid is the user ID for the remote call
    CSOPWD=password
    password is the password for the remote call
  2. Ensure that the file is a directory that is referenced by the classpath. An appropriate directory is your project's JavaSource folder.

Related concepts
Java wrapper

Related reference
Java wrapper classesremoteComType in callLink element
setRemoteUser()

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.