EJB modules must define security
role references for all the security role names that are used in the
enterprise bean code or that are defined in the deployment descriptor.
You can use the EJB deployment descriptor editor to declare the security
role references.
About this task
Each security role reference that
you declare in your EJB module uses the
security-role-ref element
in deployment descriptor. If the security role is declared in the
deployment descriptor, you must use the
role-link element
in the
security-role-ref element to link the reference
to the declared security role.