are there advantages of using Spring Security authenticaiton over doing it with Struts filter?
posted 4 years ago
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.
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.