Home

 

Configure authorization for foreign bus connections


Configure authorization for foreign bus connections to enable buses to forward messages to foreign buses. You must perform this task the wsadmin with the addUserToForeignBusRole command. The command needs to be run on both servers involved in the link.

You must take care to connect to the correct server when running the command.

To configure authorization for foreign bus connections:

  1. Run the following command on the feature server that has a foreign bus defined for the news repository server:

      AdminTask.addUserToForeignBusRole('[-bus <busName> -foreignBus <foreignBusName> -role <roleName> -user <userName>]')

    For example:

      AdminTask.addUserToForeignBusRole('[-bus Connections_ActivitiesServer_Bus -foreignBus Connections_NewsServer_Bus -role Sender -user john_smith@example.com]')
      AdminConfig.save()

    Parameters...

      Parameter Description
      -bus Name of the bus on the server.
      -foreign bus The name of the foreign bus.
      -role This is always set to Sender.
      -user The bus link user name

  2. Using the wsadmin tool, connect to the server hosting the news repository and run the command from step 1. For example:

      AdminTask.addUserToForeignBusRole('[-bus Connections_NewsServer_Bus -foreignBus Connections_ActivitiesServer_Bus -role Sender -user john_smith@example.com]')
      AdminConfig.save()


Repeat the steps above for every feature server in your configuration to link it to the server hosting the news repository.


Linking buses on different servers


Previous topic:

Validate SIBus links

 

Related tasks

Updating the messaging bus configuration when the connectionsAdmin user ID changes

+

Search Tips   |   Advanced Search