Administrator Global Settings
The Administrator Command Utility can utilize the Global.xml file to hold parameters that are required for all commands.
By setting these values in the global, it eliminates the need to specify them each time you run the command utility. The following command line parameters may be configured in the Global.xml file:
To edit the Global.xml file, use an editor such as NOTEPAD (Windows) or vi (UNIX). To add the service address, first locate the following lines in the Global.xml:
<!-- default service address --> <msg name="service" value=""/>
Then modify the value=”” keyword to specify the location and type of your service. For example:
<!-- default service address --> <msg name="service" value="https://MFT Internet Server.MYCOMPANY.COM:8443/cfcc/control?view=services/AdministratorService"/> <!-- servicetype (SOAP/REST) --> <msg name="servicetype" value="REST"/>
Make sure that the service address and service type are added between the double quotation marks (" ").
Repeat these changes for the user ID, password, keystore, keystore password, trusted keystore and trusted keystore password. For example:
<!-- default user id --> <msg name="userid" value="USERID"/> <!-- default user pwd --> <msg name="userpwd" value="PASSWORD"/> <!-- the encrypted user password, if has value, will overwrite userpwd --> <msg name="encrypteduserpwd" value="9abe8f97ebf00295" /> <!-- default java key store name --> <msg name="jksname" value="C:\keystore\cacerts"/> <!-- default java key store password --> <msg name="jkspwd" value="changeit"/> <!-- encrypted java key store password --> <msg name="encryptedjkspwd" value="48d938b0ba29fb4d0b47bb121441a37f"/> <!-- default trusted java key store name --> <msg name="trustedjksname" value="C:\keystore\cacerts"/> <!-- default trusted java key store password --> <msg name="trustedjkspwd" value="0a095e1e7ff74c8e8cdfc5e73ab442f4"/> <!-- encrypted trusted java key store password --> <msg name="encryptedtrustedjkspwd" value=""/>
Optionally, if you do not want to clear text passwords stored in the Global.xml file, you can execute the java cfcc.Config program to generate encrypted keys in this file.