Security roles in the deployment descriptor

Figure 1 shows a fragment of a deployment descriptor that includes security role information. It contains:
Figure 1. Example of a deployment descriptor containing security roles
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC 
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN"
"http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
  <ejb-jar id="ejb-jar_ID">
    <display-name>payroll</display-name>         1
      <enterprise-beans>
        <session id="Session_1">
          .
          .
          <security-role-ref id="SecurityRoleRef_1">
            <role-name>administrator</role-name> 2
            <role-link>team_leader</role-link>
          </security-role-ref>
          .
          .
        </session>
      </enterprise-beans>
      <assembly-descriptor id="AssemblyDescriptor_1">
        <security-role id="SecurityRole_1">
          <role-name>team_leader</role-name>     3
        </security-role>
        .
        .       
        <method-permission id="MethodPermission_1">
          <description>team_leader:+:</description>
          <role-name>team_leader</role-name>     4
          <method id="MethodElement_01">
            <ejb-name>Managed</ejb-name>
            <method-intf>Home</method-intf>
            <method-name>create</method-name>
            <method-params>
            </method-params>
          </method>
           .
           .
        </method-permission>
         .
         .
      </assembly-descriptor>
       .
       .
     </ejb-jar>
If an application with this deployment descriptor is used in a CICS system with the following system initialisation parameters:
SEC=YES
XEJB=YES
EJBROLEPRFX='test'

For detailed information about the contents of the deployment descriptor, refer to Enterprise JavaBeans Specification, Version 1.1.

To view the contents of a deployment descriptor, you can use the Assembly Toolkit (ATK). For more information about ATK, see the CICS® Operations and Utilities Guide.