Single Sign-on

Single Sign-on

Single Sign-on connects several Centova Cast servers to one login form. A user can log in on one server with the username and password of an account on another server. Centova Cast then sends the user to the other server, and the user is logged in there.

To open the Single Sign-on page, click Single Sign-on under the Settings menu icon in the navigation menu. A staff account must have the Manage hosts permission to open this page. This permission controls the management of the Single Sign-on servers.

How Single Sign-on Works

In this section, the local server is the server on which the user types the username and password. A remote server is a Centova Cast server that you added to the Single Sign-on page of the local server.

When a user logs in on the local server, Centova Cast does these steps:

  1. Centova Cast looks for the username on the local server. If the account exists, Centova Cast logs the user in on the local server, and Single Sign-on is not used.
  2. If the account does not exist, Centova Cast sends the username and the password to all of the enabled remote servers at the same time.
  3. If a remote server has an account with this username and the password is correct, that remote server gives a temporary login key. Centova Cast sends the browser to the remote server with this key. The user is then logged in on the remote server.
  4. If a remote server has an account with this username, but the password is not correct, the login fails.
  5. If no remote server has the account, the login fails.

Each remote server must permit Single Sign-on logins. On a Centova Cast version 4 remote server, open the SSO tab of its Settings page. Set the Allow this server to be logged into via SSO field to Yes. For more information, see the Settings section.

Note that the username admin never uses Single Sign-on. The administrator always logs in on the server itself.

The temporary login key is valid for 2 minutes and works one time only. Centova Cast waits a limited time for the answers of the remote servers. A remote server that does not answer in that time does not delay the login further.

Remote Server List

The list shows the remote servers of this server. The list has these columns:

  • Title
    Shows the title of the remote server.

  • URL
    Shows the URL of the control panel of the remote server.

  • Version
    Shows the major version of Centova Cast on the remote server, for example 4. Centova Cast finds the version when you save the server.

Note: On very narrow screens, the control panel does not show the URL column.

The Host Status panel on the Overview page also shows each remote server. For more information, see the Overview section.

Adding a Remote Server

To add a remote server:

  1. Click New host on the toolbar, or press the Insert key. The editor opens.
  2. Type the Server title, the URL and the Administrator password.
  3. Click Save.

When you save, Centova Cast connects to the remote server and finds its version. If Centova Cast cannot connect to the remote server, or if the password is not correct, it shows an error and does not save the server.

The editor has these fields:

  • Server title
    Specifies a name for the remote server. The control panel shows this name in the list and in the Host Status panel. This field is required.

  • URL
    Specifies the URL of the control panel of the remote server, for example https://us-east.example.com:2199/. This field is required.

  • Administrator password
    Specifies the password of the administrator account on the remote server. This field is required for a new server. What Centova Cast does with the password depends on the version of the remote server:

    • Centova Cast version 4
      Centova Cast uses the password one time to make an API key on the remote server for Single Sign-on. Then Centova Cast discards the password. It keeps only the API key.

    • Centova Cast version 3
      Centova Cast saves the password in its database.

    After you save the server, the editor shows the field API key in place of this field. For a version 3 server, this field has the title Administrator password. For a version 4 server, the field shows the start of the key, followed by dots. For a version 3 server, the field shows only dots. Centova Cast never shows the full key or the password.

    • Clear
      Removes the saved API key or password from the editor, and shows the Administrator password field again. Type the administrator password of the remote server, and click Save. For a version 4 server, Centova Cast then makes a new API key. For a version 3 server, Centova Cast saves the new password. Use this if the administrator password of a version 3 server changed, or if the API key on a version 4 server was deleted.

Click Cancel to close the editor without saving.

Editing and Removing Remote Servers

To edit a remote server, click its row in the list. The editor described in the Adding a Remote Server section opens. If you do not click Clear, Centova Cast keeps the saved API key or password.

To change the status of remote servers:

  1. Select one or more servers in the list.
  2. Click Enable or Disable on the toolbar.
  3. Click Yes in the confirmation dialog.

Centova Cast does not send logins to a disabled server. Keyboard shortcuts: press + to enable the selected servers, and - to disable them.

To remove remote servers, select them, click Delete on the toolbar or press the Delete key, and click Yes in the confirmation dialog. Centova Cast then does not send logins to these servers. Note that the API key on a version 4 remote server stays on that server.

Running Several Servers

To give the users of several Centova Cast servers one login form:

  1. Install Centova Cast on each server. Each server has its own license, its own accounts and its own administrator. For the installation, see the Installation Manual.
  2. Select the server that has the login form for all users. This is the local server.
  3. On each other server, log in as the administrator. On the SSO tab of the Settings page, set Allow this server to be logged into via SSO to Yes, and click Save.
  4. On the local server, open the Single Sign-on page. Add each other server as described in the Adding a Remote Server section.
  5. On the local server, open the Overview page. Make sure that the Host Status panel shows each server as available.

Example: You have two servers, us-east.example.com and eu-west.example.com. Your users log in at https://us-east.example.com:2199/. On eu-west.example.com, you set Allow this server to be logged into via SSO to Yes. On us-east.example.com, you add a remote server with the title EU West, the URL https://eu-west.example.com:2199/ and the administrator password of eu-west.example.com. The client radioberlin has an account on eu-west.example.com only. The client types radioberlin and its password on the login form of us-east.example.com. Centova Cast does not find the account locally and asks EU West. EU West accepts the password. The browser then opens the client area of radioberlin on eu-west.example.com.

Note that each username must exist on one server only. If two servers have an account with the same username, the user can log in only to one of them through the shared login form.

Accounts stay on the server on which you created them. To manage the accounts of a server, log in to the administration area of that server.