I am working on a Spring-MVC based application in which we are using Spring-Security for login, authorization. We were using version 3.2.5 before and the upgrade was 4.1.1.
In your securityApplicationContext.xml add username-parameter="j_username" password-parameter="j_password" as below:
securityApplicationContext.xml
username-parameter="j_username" password-parameter="j_password"