Configure LiveCompare to use single sign-on

Single sign-on allows each user to be logged in to LiveCompare automatically using their Windows account, provided that a LiveCompare account has been created with a matching username.

Configuring LiveCompare to single sign-on involves the following steps. Before you begin, LiveCompare must be configured to run using HTTPS/SSL as described here.

Configure LiveCompare to use single sign-on

  1. Log in to LiveCompare as a user with Administrator privileges and click Studio tool button. to go to the LiveCompare studio.
  2. Select the Administration > Configuration > Security folder in the LiveCompare hierarchy.
  3. Set the Single SignOn field to X, and click ‘Save’.
  4. Stop the RNSERVER service, first checking that no users are currently logged in to LiveCompare and that no workflows are currently running.
  5. On the LiveCompare server, remove the WebMatrix.*.dll files from the <LiveCompare install dir>\web\apps\bin directory.

Configure the LiveCompare Studio web application to use single sign-on (except for reports)

  1. Open IIS Manager on the LiveCompare server and navigate to the livecompare/studio application.
  2. In the IIS section, double-click the Authentication icon.
  3. Disable Anonymous Authentication and enable Windows Authentication.
  4. Select Windows Authentication in the Authentication pane and choose ‘Providers…’ from the context menu.
  5. In the Providers dialog, ensure that NTLM is listed before Negotiate.
  6. In IIS Manager, navigate to the livecompare/reports folder and double-click the Authentication icon.
  7. Disable Windows Authentication and enable Anonymous Authentication.

Configure the LiveCompare Studio web application to connect as the LiveCompare service account instead of using pass-through authentication

  1. In IIS Manager on the LiveCompare server, navigate to the livecompare/studio application.
  2. Select Basic Settings in the Actions panel, and ensure that the Physical path entry specifies ‘Pass-through authentication’.
  3. Click ‘Connect as…’.
  4. In the Connect As dialog, select ‘Specific user’. Click ‘Set’ and enter the user name and password for the LiveCompare service account.
  5. Click ‘OK’ to close the Connect As and Edit Application dialogs, saving your settings.

Verify the configuration of the LiveCompare Studio application

  1. In IIS Manager on the LiveCompare server, navigate to the livecompare/studio application.
  2. In the Management section, double-click the Configuration Editor icon.
  3. In the Section list box:
    1. Select system.web/authentication, and ensure that the mode is set to Windows.
    2. Select system.web/authorization, and click ‘…’ in the Features View. Ensure that the Collection Editor dialog is set to allow all users.
    3. Select system.web/identity and ensure it is using the LiveCompare service account and password.

Restart IIS

  1. On the LiveCompare server, use the ‘iisreset’ command to restart IIS.

Additional steps

  1. If your SSL certificate is self-signed, you may need to use the Microsoft Management Console and the Certificates snap-in to add the SSL certificate to the Trusted Root Certification Authorities list.
  2. If a Windows security dialog appears when accessing the LiveCompare web site, you may need to configure your browser and add the LiveCompare web server to the ‘Local intranet’ or ‘Trusted sites’ zone.

Configure LiveCompare to run Using HTTPS/SSL (recommended)