Document doc = builder.parse(new ByteArrayInputStream(xml.getBytes()));
WebXml webXml = new WebXml(doc);
List roles = new ArrayList();
roles.add("role1");
roles.add("role2");
webXml.addSecurityConstraint("wrn", "/url", roles);
assertTrue(webXml.hasSecurityConstraint("/url"));
Element securityConstraintElement =
webXml.getSecurityConstraint("/url");
assertNotNull(securityConstraintElement);
Element authConstraintElement = (Element)