code: 	public BeanDefinition parse(Element element, ParserContext parserContext) {
  		List<Element> interceptUrls = DomUtils.getChildElementsByTagName(element,
  				"intercept-url");
  
  		// Check for attributes that aren't allowed in this context
  		for (Element elt : interceptUrls) {
  			if (StringUtils.hasLength(elt
  					.getAttribute(HttpSecurityBeanDefinitionParser.ATT_REQUIRES_CHANNEL))) {
  				parserContext.getReaderContext().error(
  						"The attribute '"
  								+ HttpSecurityBeanDefinitionParser.ATT_REQUIRES_CHANNEL
  								+ "' isn't allowed here.", elt);
  			}
  
  			if (StringUtils.hasLength(elt
  					.getAttribute(HttpSecurityBeanDefinitionParser.ATT_FILTERS))) {
  				parserContext.getReaderContext().error(
  						"The attribute '" + HttpSecurityBeanDefinitionParser.ATT_FILTERS
  								+ "' isn't allowed here.", elt);
  			}
  		}
  
  		BeanDefinition mds = createSecurityMetadataSource(interceptUrls, false, element,
  				parserContext);
  
  		String id = element.getAttribute(AbstractBeanDefinitionParser.ID_ATTRIBUTE);
  
  		if (StringUtils.hasText(id)) {
  			parserContext.registerComponent(new BeanComponentDefinition(mds, id));
  			parserContext.getRegistry().registerBeanDefinition(id, mds);
  		}
  
  		return mds;
  	}
  
  