/* */ }
/* */
/* 235 */ Set srset = new HashSet();
/* 236 */ for (SecurityRoleRefMetaData srmd : roleRefs)
/* */ {
/* 238 */ srset.add(new SecurityRoleRef(srmd.getRoleName(), srmd.getRoleLink(), null));
/* */ }
/* 240 */ Principal principal = getCallerPrincipal();
/* 241 */ EJBAuthorizationHelper helper = new EJBAuthorizationHelper(sc);
/* 242 */ return helper.isCallerInRole(roleName, ejbc.getEjbName(), principal, srset);
/* */ }