java - org.springframework.security.oauth 和 org.codehaus.spring-security-oauth 之间有什么区别?

标签 java maven oauth spring-security oauth-2.0

我正在尝试使用 Spring Security 学习 Oauth 身份验证,并且刚刚发现了两个版本的 spring-security-oauth 库。

<dependency>
    <groupId>org.codehaus.spring-security-oauth</groupId>
    <artifactId>spring-security-oauth</artifactId>
    <version>3.17</version>
</dependency>

<dependency>
    <groupId>org.springframework.security.oauth</groupId>
    <artifactId>spring-security-oauth</artifactId>
    <version>1.0.0.M6</version>
</dependency>

我想知道是否有人可以告诉我其中的区别以及首选哪个?

最佳答案

web site tells what it's about .

This project has been adopted into SpringSource as an official extension for Spring Security. Active feature development has moved to that location.

You're welcome to continue to use the Codehaus artifacts, but be aware that any new features aren't being developed here. This has implications for those still using Spring Security 2.x, as the new development is only being done in support for Spring Security 3.x.

关于java - org.springframework.security.oauth 和 org.codehaus.spring-security-oauth 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14034330/

相关文章:

oauth - Kong+Keycloak+OAuth : jwt-keycloak or oauth2 plugin?

Java - 我需要帮助理解 UI 缩放到不同的屏幕尺寸

java - NoSuchDefinitionException : No matching bean of type

angularjs - CreateProcess error=193,%1 不是有效的 Win32 应用程序 -> [帮助 1]

java - 将 JRebel 用于非 webapp 项目

kubernetes - 为什么我在 GKE 上而不是在本地运行时从 OAuth2 代理获得 CSRF 403?

java - 按名称从 ResultSet 中获取值

java - Apache NiFi 无法使用 ojdbc6.jar 或 ojdbc8.jar 连接到 Oracle 12c

java.lang.NoClassDefFoundError : com/fasterxml/jackson/core/util/DefaultIndenter

java - android中,开发sdk时如何保护敏感数据或如何对请求进行鉴权