You can add references to security roles (names used
in the code) of enterprise beans.
To add a reference to a security role:
- In the diagram editor, right-click an enterprise
bean; then click .
- 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.
- 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.