Products | Versions |
---|---|
Spotfire Statistics Services | 7.5 and higher |
When TIBCO Spotfire Statistics Services (TSSS) has authentication enabled, the TSSS URL and corresponding username and password must be configured in the Web Player service configuration file Spotfire.Dxp.Worker.Host.exe.config to allow the execution of data functions and statistical tools from the Web Player service. If the TSSS server is configured for anonymous authentication, which is the default configuration, then the additional steps in this article are not required.
config export-service-config --capability=WEB_PLAYER --deployment-area=Production
<Spotfire.Dxp.Web.Properties.Settings>
<!--Authentication settings for TIBCO Spotfire Statistics Services -->
<!-- A list of URLs -->
<setting name="TibcoSpotfireStatisticsServicesURLs" serializeAs="Xml">
<value>
<ArrayOfString>
<string/>
</ArrayOfString>
</value>
</setting>
<!--A list of usernames for each of the URLs above-->
<setting name="TibcoSpotfireStatisticsServicesUsernames" serializeAs="Xml">
<value>
<ArrayOfString>
<string/>
</ArrayOfString>
</value>
</setting>
<!--A list of passwords for each of the usernames and URLs above-->
<setting name="TibcoSpotfireStatisticsServicesPasswords" serializeAs="Xml">
<value>
<ArrayOfString>
<string/>
</ArrayOfString>
</value>
</setting>
<!--Authentication settings for TIBCO Spotfire Statistics Services -->
<!-- A list of URLs -->
<setting name="TibcoSpotfireStatisticsServicesURLs" serializeAs="Xml">
<value>
<ArrayOfString>
<string><TSSS_URL1></string>
<string><TSSS_URL2></string>
</ArrayOfString>
</value>
</setting>
<!--A list of usernames for each of the URLs above-->
<setting name="TibcoSpotfireStatisticsServicesUsernames" serializeAs="Xml">
<value>
<ArrayOfString>
<string><Username_for_TSSS_URL1></string>
<string><Username_for_TSSS_URL2></string>
</ArrayOfString>
</value>
</setting>
<!--A list of passwords for each of the usernames and URLs above-->
<setting name="TibcoSpotfireStatisticsServicesPasswords" serializeAs="Xml">
<value>
<ArrayOfString>
<string><Password_for_TSSS_URL1></string>
<string><Password_for_TSSS_URL2></string>
</ArrayOfString>
</value>
</setting>
4). Save the changes to file.config import-service-config --config-name=TSSSAuth
6). In the command-line interface, assign the created Spotfire Web Player configuration to the Spotfire Server to make it possible to use for the service: Example:
config set-service-config --service-id=value –config-name=TSSSAuth