是否可以将Spring Security与Google Guice一起使用? [英] Is it possible to use Spring Security with Google Guice?

查看:188
本文介绍了是否可以将Spring Security与Google Guice一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Spring Framework更改为Google Guice,因为它更轻,几乎包含了我所需要的一切。是否可以将Spring Security与Google Guice一起使用而不是Spring Framework?

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?

推荐答案

否。 Spring Security广泛使用核心Spring Framework。

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

(我想,理论上你可以使用Spring + Spring Security来安全过滤器,以及用于servlet布线的Google Guice ......但我预计 道路上会有一些陷阱和陷阱。)

(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.)

这篇关于是否可以将Spring Security与Google Guice一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆