【发布时间】:2016-08-20 16:22:50
【问题描述】:
我想使用 spring-boot 标准化我的项目,但是奇怪的是没有找到使用 spring oauth 的 starter pom。 Spring oauth 已停用?
【问题讨论】:
-
混淆了设置文档,对于其他依赖项,它给出了一些示例。
标签: spring spring-security oauth spring-boot oauth-2.0
我想使用 spring-boot 标准化我的项目,但是奇怪的是没有找到使用 spring oauth 的 starter pom。 Spring oauth 已停用?
【问题讨论】:
标签: spring spring-security oauth spring-boot oauth-2.0
有效设置:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
</dependency>
【讨论】: