Adding references to security roles

You can add references to security roles (names used in the code) of enterprise beans.

To add a reference to a security role:
  1. In the diagram editor, right-click an enterprise bean; then click Add EJB > Security Role Reference.
  2. In the Add Security Role Reference wizard, type a name, select the security role to link to, and type a description for the security role reference.
  3. Click Finish.
An actor notation of stereotype <<eJBRoleNameRef>> with a relationship of stereotype <<eJBSecurityRoleRef>> to the enterprise bean and <<eJBRoleLink>> to the security role is created and opens in the diagram editor. The security role reference also appears in the Project Explorer view.
Related concepts
Class diagrams
Related tasks
Creating security roles
Linking security role references to security roles
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.