webApp.setSecurityRealmName(data.getSecurityRealmName());
webApp.setSecurity(data.getSecurity());
}
ByteArrayOutputStream out = new ByteArrayOutputStream();
deploymentConfiguration.save(out);
out.close();
return new String(out.toByteArray(), "US-ASCII");
}
private static Pattern createPattern(String patternString) {