This graphic illustrates security mapping within the EJB Deployment Descriptor. The following sample code is shown:

<enterprise-benas>
...
   <security-role-refs
      <role-name>POMgr</role-name>
      <role-link>myMgr</role-link>
   </security-role-refs>
...
</enterprise-beans>
<assembly-descriptor>
...
   <security-role>
      <role-name>myMgr</role-name>
   </security-role>
   <method-permission>
      <role-name>myMgr</role-name>
      <method>. . .</method>
   </method-permission>
...
</assembly-descriptor>

This is an arrow from the <role-link>myMgr</role-link> line to the first <role-name>myMgr</role-name> line, and a second arrow from the first <role-name>myMgr</role-name> line to the second <role-name>myMgr</role-name> line.