thay
<http auto-config="true"> <form-login login-page="/login" default-target-url="/index" authentication-failure-url="/failure" /> <logout logout-success-url="/login" /> <access-denied-handler error-page="/denied"/> </http>bằng cách bỏ auto-config đi
<http> <form-login login-page="/login" default-target-url="/index" authentication-failure-url="/failure" /> <logout logout-success-url="/login" /> <access-denied-handler error-page="/denied"/> </http>
Tham khảo tại đây: http://docs.spring.io/autorepo/docs/spring-security/3.1.4.RELEASE/reference/ns-config.html