This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
does it make any sense to code for authentication using Spring MVC instead of using Spring Security?
Monica. Shiralkar
Ranch Hand
Joined: Jul 07, 2012
Posts: 186
posted
0
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).
thanks.
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.