aspose file tools*
The moose likes Spring and the fly likes does it make any sense to code for authentication using Spring MVC instead of using Spring Security? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "does it make any sense to code for authentication using Spring MVC instead of using Spring Security?" Watch "does it make any sense to code for authentication using Spring MVC instead of using Spring Security?" New topic
Author

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: 541
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: does it make any sense to code for authentication using Spring MVC instead of using Spring Security?
 
Similar Threads
Spring MVC over existing Sturts project
Standalone applications
Question on Spring Security & Spring MVC.
Looking for advice on configuring a new project using Spring and Hibernate.
Where to use Spring?