webAppInfo.errorPages.add(errorPageInfo);
}
Map<String, FilterInfo> filterMap = new HashMap<String, FilterInfo>();
for (Filter filter : webApp.getFilter()) {
FilterInfo filterInfo = webAppInfoFactory.newFilterInfo();
filterInfo.filterName = filter.getFilterName().trim();
filterInfo.filterClass = filter.getFilterClass();
filterInfo.asyncSupported = filter.isAsyncSupported();
addParams(filter.getInitParam(), filterInfo.initParams);
webAppInfo.filters.add(filterInfo);
filterMap.put(filterInfo.filterName, filterInfo);
}
for (FilterMapping filterMapping : webApp.getFilterMapping()) {
String filterName = filterMapping.getFilterName().trim();
FilterInfo filterInfo = filterMap.get(filterName);
if (filterInfo == null) {
problems.add("\nNo filter matching filter mappings for " + filterName);
} else {
if (!filterMapping.getServletName().isEmpty()) {
FilterMappingInfo servletMapping = new FilterMappingInfo();