• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

does it make any sense to code for authentication using Spring MVC instead of using Spring Security?

 
Monica Shiralkar
Ranch Hand
Posts: 857
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic