简体   繁体   中英

Use Spring Security 3 inside Struts 2 application. Good choose?

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.

如果你需要非常轻量级的安全性,只需要基本的身份验证就可以很容易地完成自己的struts2角色拦截,但是如果你需要更好的东西,那么你提出的是要走的路。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM