requiredInfo = new HashMap<String, String>();
requiredInfo.put("class", "org.eclipse.jst.javaee.ejb.EJBJar");
}
public List<String> getSecurityRoles() {
EJBJar ejb = (EJBJar)this.obj;
AssemblyDescriptor ad = ejb.getAssemblyDescriptor();
if (ad != null) {
List<SecurityRole> roles = ad.getSecurityRoles();
ArrayList<String> result = new ArrayList<String>();
for (SecurityRole role: roles) {
result.add(role.getRoleName());
}
return result;