Is it possible to use Spring Security with Google Guice?

我怕爱的太早我们不能终老 提交于 2019-12-23 01:03:37

问题


I would like to change Spring Framework to Google Guice, because it's lighter and has almost everything I need. Is it possible to use Spring Security with Google Guice instead of Spring Framework?


回答1:


No. Spring Security makes extensive use of the core Spring Framework.

(I guess, in theory you could use Spring + Spring Security for the security filters, and Google Guice for the servlet wiring ... but I expect there would be a few traps and pitfalls on that road.)



来源:https://stackoverflow.com/questions/5484568/is-it-possible-to-use-spring-security-with-google-guice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!