Reputation: 7374
At this moment I think about authentication in my web app based on Strust2.
And I know only one instrument for this: Spring Security 3.
So, what can you recommended? It is good variant use Struts 2 with Spring Security 3 together or maybe in my case, I must use something else? There is more good choose?
Thanks.
Upvotes: 1
Views: 852
Reputation: 10458
If you need very light weight security, just basic authentication it is very easy to do your self there is also the struts2 roles interceptor but if you need anything better then what you propose is the way to go.
Upvotes: 2
Reputation: 17903
Spring security is a good choice for any java based web application. Its lightweight, pluggable and easy to configure too. But to evaluate several alternatives and then decides what suits you best is always better and sensible choice.
Apart from Spring Security, there is Apache Shrio and its worth evaluating. There have been comparisons (1,2) between these two frameworks. Just like Spring security Shrio is also easy to use.
Upvotes: 1