List of usage examples for org.springframework.security.config Elements PORT_MAPPINGS
String PORT_MAPPINGS
To view the source code for org.springframework.security.config Elements PORT_MAPPINGS.
Click Source Link
From source file:org.springframework.security.config.http.HttpSecurityBeanDefinitionParser.java
private BeanReference createPortMapper(Element elt, ParserContext pc) { // Register the portMapper. A default will always be created, even if no element // exists.//from w w w .j av a 2 s . c om BeanDefinition portMapper = new PortMappingsBeanDefinitionParser() .parse(DomUtils.getChildElementByTagName(elt, Elements.PORT_MAPPINGS), pc); String portMapperName = pc.getReaderContext().generateBeanName(portMapper); pc.registerBeanComponent(new BeanComponentDefinition(portMapper, portMapperName)); return new RuntimeBeanReference(portMapperName); }