2012-01-19 128 views
0

我需要为spring mvc项目添加oauth安全性。oauth在春季web mvc项目

该项目具有基本的安全性,实现org.springframework.web.filter.DelegatingFilterProxy 与CustomAuthenticationProvider,我需要用oauth2替换它。

有没有简单的方法来做到这一点?

谢谢。

+0

[试图在保护资源使用OAuth的可能重复Spring MVC](http://stackoverflow.com/questions/5431359/trying-to-protect-resources-with-oauth-in-spring-mvc) – skaffman

+0

该项目只包含与db一起工作的休息服务,所以我没有 理解正是我需要实现当用户的细节在数据库中。 –

回答