Show TOC

Assigning User AccountsLocate this document in the navigation structure

Use

To consume Web services which require authentication and you want to consume them using a dedicated service user, you have to assign a user account to them. You can assign user accounts to one or more than one Web service running on a provider system. In addition, you can assign the same user account to one or more than one Service Group that contains a reference to the Web service. The consumer application invokes the business logic on the provider side using the authentication methods which you provide in the user account.

The user account assignments which you create are also used by the system when you configure Service Groups.

You can narrow the user account assignment in one of the following ways:

  • Assignment to a provider system.

    In this case, you apply the user account to all Service Groups and the corresponding Web services that are running on the provider system.

  • Assignment to service definitions on a provider system.

    In this case, you apply the user account to the Service Groups and the corresponding Web services which are specified explicitly in the assignment.

  • Assignment to a concrete Service Group and concrete service definition.

    In this case, you apply the user account to a specific Service Group and specific Web services which are referred by this Service Group.

If there is more than one assignment to services on the same provider system, the framework uses the most concrete assignment with priority.

Prerequisites
Procedure
  1. Log on to the SAP NetWeaver Administrator .

  2. Choose Start of the navigation path SOA Next navigation step Application and Scenario Communication Next navigation step User Account Management End of the navigation path

    Alternatively, you can use the quick link /useraccmngt as follows:

    http://<host>:<port>/nwa/useraccmngt

    The User Account Management screen opens.

  3. Choose the Assignment tab.

Creating a User Account Assignment

  1. Choose New .

  2. On the User Account step, choose a user account, and then choose Next .

  3. On the Provider step, choose a connection to a provider system, and then choose Next .

    To assign the user account to all service definitions and Service Groups on the provider system, you can finish the wizard at this stage.

  4. On the Service Interfaces step, assign the user account to service definitions on the provider system, and then choose Next .

    • To assign the user account to all service definitions, choose Any .

    • To assign the user account to specific service definitions, choose Concrete , and then add service definitions to the list.

      1. Choose Add .

      2. From the Choose Service Interface window that opens, select service definitions.

        To select multiple entries from the lists, on your keyboard, press and hold the SHIFT or CTRL keys and then choose the relevant service definitions.

      3. Choose OK .

  5. On the Service Group step, assign the user account to a Service Group on the provider system.

    • To assign the user account to all Service Groups which contain a reference to the selected service definition, choose Any .

    • To assign the user account to only one Service Group which contains a reference to the selected service definition, choose Concrete , and then add the Service Group to the list.

      1. Choose Add .

      2. From the Choose Service Group window that opens, discover and select a Service Group.

      3. Choose OK .

  6. Choose Finish .

Editing a User Account Assignment

  1. Choose an assignment from the table, and then choose Edit .

  2. In the User Account Name , enter the user account which you want to assign.

  3. Choose Save .

Deleting a User Account Assignment

  1. Choose an assignment from the table.

  2. Choose Delete .

  3. To confirm, choose Yes .