You can create and define security roles of enterprise beans.
To create a security role:
- In the diagram editor, right-click an Enterprise JavaBeans™ (EJB)
JAR artifact; then click .
- In the Add Security Role wizard, type a name
and description for the security role.
- Click Finish.
An actor notation of stereotype <<eJBRoleName>> with a relationship
of stereotype <<eJBSecurityRole>> to the EJB JAR artifact is created
and appears in the diagram editor. The security role also opens in the EJB
Deployment Descriptor and appears in the Project Explorer view
under Assembly Descriptor.