2012-01-19 133 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一起工作的休息服務,所以我沒有 理解正是我需要實現當用戶的細節在數據庫中。 –

回答