org.springframework.security.config.http
Class HttpSecurityBeanDefinitionParser

java.lang.Object
  extended by org.springframework.security.config.http.HttpSecurityBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class HttpSecurityBeanDefinitionParser
extends Object
implements BeanDefinitionParser

Sets up HTTP security: filter stack and protected URLs.

Since:
2.0

Constructor Summary
HttpSecurityBeanDefinitionParser()
           
 
Method Summary
 BeanDefinition parse(Element element, ParserContext pc)
          The aim of this method is to build the list of filters which have been defined by the namespace elements and attributes within the <http> configuration, along with any custom-filter's linked to user-defined filter beans.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSecurityBeanDefinitionParser

public HttpSecurityBeanDefinitionParser()
Method Detail

parse

public BeanDefinition parse(Element element,
                            ParserContext pc)
The aim of this method is to build the list of filters which have been defined by the namespace elements and attributes within the <http> configuration, along with any custom-filter's linked to user-defined filter beans.

By the end of this method, the default FilterChainProxy bean should have been registered and will have the map of filter chains defined, with the "universal" match pattern mapped to the list of beans which have been parsed here.

Specified by:
parse in interface BeanDefinitionParser