2

我想知道是否可以將Spring Security 3集成到GAE應用程序中,而無需將整個Spring + Spring MVC堆棧與它一起使用。我到目前爲止看到的每個例子都有Spring Beans和/或Spring MVCSpring Security 3 + GAE - 我真的需要整個堆棧嗎?

我想要做的是基本上實現通用認證(基本註冊,登錄,註銷,重置密碼等),包括OpenID,Google身份驗證,Facebook身份驗證等全部在一個地方 - 春安全做得很好。

或者,我寧願儘可能少地使用庫,並自行推出,沒有人有鏈接或一些很好的資源來設置身份驗證服務,允許使用自定義登錄,Google,Facebook等登錄沒有使用Spring Security?

回答

0

你不能使用Spring MVC,但無論如何你需要彈簧核心。 回答這個問題被突出顯示在Spring Security FAQ: http://docs.spring.io/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#appendix-dependencies

+0

它說的網頁上使用Spring Security,您需要彈簧安全核心: http://docs.spring.io/spring-security/site/faq/faq.html#faq-what-dependencies

約dependesies你可以在這裏找到更詳細和spring-web,spring-web我認爲它是Spring MVC還是Spring Web Flow? –

+0

它是關於單獨的庫:http://mvnrepository.com/artifact/org.springframework/spring-web/3.2.4.RELEASE Spring MVC和Spring Web Flow都依賴於spring-web,與Spring Security相同網頁。 – msangel