Roles

EAServer’s authorization model is based on roles. Roles control access to that Web service, and are located in the Roles folder under each Web service.

You can also define roles at the Web service operation level. Establishing roles at the operation/method level gives you even greater access control of Web services resources.

You can define new roles from the Web console. See the EAServer Security Administration and Programming Guide for information about creating and installing roles in EAServer.

StepsAdding a role to a Web service

  1. Select the Web service collection and Web service to which you are adding a role.

  2. Right-click the Roles folder and select Assign Roles.

  3. Click Next and follow the instructions to add a role to the Web service. The Role wizard displays a list of existing roles contained on the server to which you are connected in the Available roles box. Highlight a role and click the arrow button to place it in the assigned roles box.

    You can also enter a name of a newly created role and click Add Newly Available Role to add this role to the Available roles box, which can then be assigned to the Web service.

  4. Click Next to review the roles that you have assigned to the Web service. Click Finish, Back (to change your settings), or Cancel.

StepsRemoving a role from a Web service

This procedure allows you to remove a role that is assigned to a Web service. It does not delete the role from the server.

  1. Select the Web service collection and Web service from which you are removing a role.

  2. Right-click the Roles folder, select the role you want to remove, and select Remove Role.

  3. Click Next and follow the wizard instructions to remove the role from the Web service. Click Finish, Back (to change your settings), or Cancel.

StepsAdding a role to a Web service operation

  1. Select the Web service collection and Web service to which the operation belongs.

  2. Select the Operations folder and the operation to which you are adding a role.

  3. Right-click the Roles folder and select Assign Roles.

  4. Click Next and follow the instructions to add a role to the Web service operation. The Role wizard displays a list of existing roles in the Available roles box. Highlight a role and click the arrow button to place it in the Assigned Roles box.

    You can also enter a name of a newly created role and click Add Newly Available Role to add this role to the Available roles, which can then be assigned to the Web service operation.

  5. Click Next to review the roles that you have assigned. Click Finish, Back (to change your settings), or Cancel.

StepsRemoving a role from a Web service operation

This procedure allows you to remove a role that is assigned to a Web service operation. It does not delete the role from the server.

  1. Select the Web service collection and Web service to which the operation belongs.

  2. Select the Operations folder and the operation from which you are removing a role.

  3. Right-click the Roles folder, select the role you want to remove, and select Remove Role. The Remove Role wizard displays.

  4. Click Next and follow the wizard instructions to remove the role from the Web service operation. Click Finish, Back (to change your settings), or Cancel.