Show TOC

Defining Usage ProfilesLocate this document in the navigation structure

Use

In a usage profile, you can define a set of service definition details and User Management Engine roles. When a service definition is published to Services Registry, the system checks if there are active usage profiles that match this service definition by name, namespace, system, or classification. In case there are such profiles, the user roles assigned to these profiles are then also relevant for the published service definition.

After creating or modifying a usage profile in Services Registry, the system does not automatically apply the changes to the available service definitions whose classifications match the modified usage profiles. If needed, you can apply all changes explicitly.

By default, Services Registry allows all users to access all service definitions. As a result of applying usage profiles, Services Registry restricts the access to a defined set of service definitions only to those users who have the corresponding role assigned to their user account. Changes to service definitions are only possible if the assigned role provides write access. In this way you are able to define different views for different users in Services Registry.

Prerequisites
  • The user account you use to manage usage profiles is assigned to the following roles: SERVICES_REGISTRY_READ_WRITE, SERVICES_REGISTRY_TECHNICAL_ADMINISTRATOR, and also one of the UDDI_TierN or UDDI_Admin roles.

    For more information, see Services Registry Roles .

  • The user roles you want to use in Services Registry are defined in the User Management Engine.

    For more information, see Managing Users, Groups, and Roles .

Procedure

1. Enable Role-Based Security

  1. In SAP NetWeaver Administrator, choose Start of the navigation path SOA Management Next navigation step Technical Configuration Next navigation step Services Registry Management End of the navigation path.

  2. Choose Start of the navigation path UDDI Server Configuration Next navigation step General End of the navigation path.

  3. Select Apply Role Based Security and save your settings.

2. Create a Permission Template

  1. In Services Registry, choose the Usage Profiles tab.

  2. Choose New and enter a template name.

  3. Specify to which service definitions the usage profile should apply by entering one or more of the following conditions:

    • In Service Definition Pattern and Namespace , you can enter a search pattern for the name and the namespace of the service definition, respectively.

      You can use asterisk (*) and question mark (?) as wildcards.

    • You can choose the profile to match only service definitions provided by a particular system by selecting it in the System list.

    • In the Classifications screen area, you can add classification values.

      You can only select and add flat list classifications. For some classifications, you can add only one value to the usage profile.

  4. To assign user roles, choose Start of the navigation path Security Roles Next navigation step New End of the navigation path.

  5. Save the template.

Result

The system adds the created usage profile to the Usage Profiles list. You can choose when the system should apply profiles in the following ways:

  • To change the status of a profile, use Activate or Deactivate .

    When you want the system to stop applying a particular profile, you can simply deactivate it.

  • To apply all active profiles to the services definitions registered in Services Registry, choose Apply All .

    This way you can apply the new profiles.