does it make any sense to code for authentication using Spring MVC instead of using Spring Security?
posted 4 years ago
Does it make any sense to use Spring MVC for creating Authenticating code ( Enter login Password and click submit ), when spring provides Spring Security mechanism.Are there any cases where one should not use Spring Security and instead write code to enter username passoword and authenticate using Spring MVC(say how we do in struts or JSP).
Personally for security in that environment I always use Spring Security. But I also do it with ajax login instead of form submission. But that requires coding a login controller that does the code with Spring Security that otherwise would happen automatically.