Products | Versions |
---|---|
Spotfire Connectors | 7.0 and lower |
Not Applicable | - |
If a Data Connector data connection is used in an analysis which connects to a data source using anonymous authentication, it may not be obvious how to configure the Web Player so that the anonymous authentication from the connector will succeed. This is because the available Web Player web authentication modes are "Prompt", '"WebConfig", "Kerberos", and "Service Account" which do not match with 'Anonymous' or 'None' authentication.
To get anonymous authentication to work with Data Connectors in Web Player, in the web.config file, change the Web Authentication Mode for your adapter to "ServiceAccount" mode.
<Spotfire.Dxp.Data.Access.Adapters.Settings> <!-- Different authentication modes can be set up for the various data sources. Valid modes are: WebConfig To connect with credentials stored in Spotfire.Dxp.Web.Properties.Settings/DataAdapterCredentials below. Kerberos To connect using Kerberos authentication. Prompt To prompt the user for credentials. ServiceAccount To connect as the account used to run the application pool in the IIS. --> <setting name="WebAuthenticationMode" serializeAs="Xml"> <value> <adapters> ... <adapter name="Spotfire.MyAdapter" mode="ServiceAccount"/> ... </adapters> </value> </setting> </Spotfire.Dxp.Data.Access.Adapters.Settings>
For example:
<adapter name="Spotfire.ClouderaHiveAdapter" mode="ServiceAccount" />
If the connector is not listed in the <adapters> section, add it using the format seen below, where MyAdapter is replaced with the name of the connector. For information on the naming of the connectors, see the Installation manual of the connector you want to use.
<adapter name="Spotfire.MyAdapter" mode="ServiceAccount"/>