pc.addToExcludedPolicy(p);
}
}
// Process the security-role-ref SecurityRoleRefMetaData
SecurityRoleRefsMetaData refs = bean.getSecurityRoleRefs();
if (refs != null)
for (org.jboss.metadata.javaee.spec.SecurityRoleRefMetaData ref : refs)
{
EJBRoleRefPermission p = new EJBRoleRefPermission(bean.getEjbName(), ref.getRoleName());
pc.addToRole(ref.getRoleLink(), p);