I am learning spring security from reference material. release 3.1.2.RELEASE. As stated in that I have configured security:http tag like this
security:http
se
add this your web.xml
contextConfigLocation /WEB-INF/root-context.xml, /WEB-INF/spring-security.xml org.springframework.web.context.ContextLoaderListener springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain /*