code: public void removeFilterModel(final FilterModel model) {
  		if (model.getUrlPatterns() != null) {
  			try {
  				deassociateBundle(model.getContextModel().getVirtualHosts(), model.getContextModel().getBundle());
  				filterLock.writeLock().lock();
  				for (String virtualHost:resolveVirtualHosts(model)) {
  					for (String urlPattern : model.getUrlPatterns()) {
  							String fullPath = getFullPath(model.getContextModel(), urlPattern);
  							Set<UrlPattern> urlSet = filterUrlPatterns.get(virtualHost).get(fullPath);
  							UrlPattern toDelete = null;
  							for (UrlPattern pattern : urlSet) {
  									FilterModel filterModel = (FilterModel) pattern.getModel();
  									Class<?> filter = filterModel.getFilterClass();
  									Class<?> matchFilter = model.getFilterClass();
  									if (filter != null && filter.equals(matchFilter)) {
  											toDelete = pattern;
  											break;
  									}
  							}
  							urlSet.remove(toDelete);
  					}
  				}
  			} finally {
  				filterLock.writeLock().unlock();
  			}
  		}
  	}
docs: Unregister a filter model.
  
  @param model filter model to unregister