Managing friends

A friend is an application that SECollab sends requests to, to use its services. Examples are an IBM ELM application, OSLC Connect for Jira, or another SECollab server. Friends are the outbound half of the OSLC communication. The inbound half is described in Managing OAuth consumers, and the full procedure in Establishing cross-server communication.

Friends page

The table shows, for each friend, its name, its root services URI, the consumer key that signs the requests, and the state of the connection. The first row, grayed out, is the server itself. SECollab creates this read-only friend automatically, so that the projects of the server can associate with each other.

The State column shows OK when the friend accepts the key. The other values tell you what to fix. For example:

Registering a friend

You need the root services URI of the other application, for example https://elm.acme.com:9443/ccm/rootservices. You also need a consumer key, which you get in one of two ways:

  1. Click Register Friend.
  2. Type a title for the friend and its root services URI. To make sure that the URI is correct, click the download button next to it: SECollab downloads the root services document of the friend.
  3. Select the type of OAuth key:
  4. Type the secret in OAuth Secret and Confirm Secret. With Reuse existing, it is the secret of the consumer. With Create provisional, you choose the secret.
    Register Friend dialog
  5. Click Register. SECollab reads the root services document of the friend and adds the friend to the table.
  6. If you selected Create provisional, a dialog shows the provisional key. Send it to an administrator of the other application, who approves it. If you are this administrator, click Grant access for the provisional key.

Use the fully qualified domain name of the friend in the root services URI, for example elm.acme.com rather than elm. Otherwise, the OSLC interactions can fail. If the friend is on a different domain, the browsers of the users must share the session cookies of both domains.

Editing and deleting a friend

Use the actions of the row to edit or delete a friend. If the friend moves to a new URL, edit the friend and type its new root services URI. SECollab then relocates the OSLC links, the associations and the administration data that use the old URL. Do this outside working hours: the relocation can take several hours, has no undo, and users must not work during it.

The page requires the Parameterize OSLC configurations (consumers, friends) permission.