Establishing Web service access

This section describes how to use roles to limit access to Web services and to methods/operations within a Web service.

When you add a role to a Web service or Web service operation, only the allowed users, groups, or digital IDs have access to that resource.

StepsAdding a role to a Web service

  1. Expand the Web service collection.

  2. Expand the Web service.

  3. Right-click Roles and then select Add role.

  4. Select a role from the list of defined roles that meets the security needs of the Web service and click OK. EAServer comes with predefined roles. For example, the “everybody” role allows unlimited access to authenticated users.

StepsAdding a role to a Web service operation

You can further restrict access to a Web service by assigning roles at the Web service operation/method level. For example, you could add the “everybody” role to the Web service, which allows unrestricted access to the Web service, but assign a more restrictive role to those operations that require additional restrictions.

  1. Expand the Web service collection.

  2. Expand the Web service.

  3. Expand the Operations icon.

  4. Expand the operation to which you are adding a role.

  5. Right-click Roles and then select Add role.

  6. Select a role from the list of defined roles that meets the security needs of the Web service operation and click OK.

If you do not assign a role to a Web service or operation, you do not need to provide a user name or password to invoke them. If you do assign a role to the Web service or the operation, you need to provide a valid user name and password for a user within the assigned role.