wood burning stoves 2.0*
The moose likes Spring and the fly likes are there advantages of using Spring Security authenticaiton over doing it with Struts filter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "are there advantages of using Spring Security authenticaiton over doing it with Struts filter?" Watch "are there advantages of using Spring Security authenticaiton over doing it with Struts filter?" New topic
Author

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

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 652
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

Joined: Feb 05, 2001
Posts: 17258
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: are there advantages of using Spring Security authenticaiton over doing it with Struts filter?