Set Security to Access Import Functionality through the Web Service
Access to the Data Exchange import through the Web Service must be enabled by defining the IP addresses or host names in the DataExchangeIPConfig.xml file.
To define IP addresses or host names in the
DataExchangeConfig.xml file, do the following.
- Navigate to the C:\InsightManager\server\all\conf\insight folder and open the DataExchangeConfig.xml file in Notepad.
-
To add an IP range, locate the following section:
<constructor-arg index="0"> <list> <!--<value>0.0.0.0-0.0.0.1</value>--> </list> </constructor-arg> -
Enter an IP range between the value attribute.
For example, 123.123.123.25-123.123.123.50
- Uncomment the code line by removing the comment tags (<!-- and -->).
-
To add an IP address, locate the following section:
<constructor-arg index="1"> <list> <!--<value>0.0.0.0</value>--> <!--<value>0.0.0.1</value>--> </list> -
Enter an IP address between the value attributes.
To add more IP addresses, enter IP addresses between the successive attributes.
- Uncomment the code line by removing the comment tags (<!-- and -->).
-
To add a user host name, locate the following section:
<constructor-arg index="2"> <list> <!--<value>my.domain.com</value>--> <!--<value>machine.domain.name.com</value>--> </list> -
Enter a host name between the value attributes.
To add more hosts, enter host names between the successive attributes.
- Uncomment the code line by removing the comment tags (<!-- and -->).
-
To authenticate users with Data Exchange, proceed as follows:
-
Locate the following section:
<!-- User authentication required to call data exchange --> <constructor-arg index="0" value="false"/> -
Set
value to
true.
<constructor-arg index="0" value="true"/>
-
Add a user. Locate the following section:
<constructor-arg index="1"> <list> <!--<value>user1</value>--> </list> </constructor-arg> - Enter a user between the value attributes.
- Uncomment the code line by removing the comment tags (<!-- and -->).
-
Locate the following section:
- Save and close the DataExchangeConfig.xml file.