File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

are there advantages of using Spring Security authenticaiton over doing it with Struts filter?

 
Monica Shiralkar
Ranch Hand
Posts: 825
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are there advantages of using Spring Security authenticaiton over doing it with Struts filter?The functionality which we get and the way to doing is the same.then whats the difference or advantage of one over other.
thanks..
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Re-usability. Maintainability, and more important no technology lock. So if you use a Struts filter, it only works in a Struts application. What if you get rid of old Struts and move to Spring MVC, you have to re-write all your security. What if you change to the Play Framework from Struts, you have to re-write. Using Struts Filter #1 more than other is it extremely tightly couples you to Struts, and Struts is so old and antiquated already.

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