【问题标题】:Why is there not a starter pom for spring-oauth2?为什么没有spring-oauth2的starter pom?
【发布时间】:2016-08-20 16:22:50
【问题描述】:

我想使用 spring-boot 标准化我的项目,但是奇怪的是没有找到使用 spring oauth 的 starter pom。 Spring oauth 已停用?

【问题讨论】:

标签: spring spring-security oauth spring-boot oauth-2.0


【解决方案1】:

有效设置:

        <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>

【讨论】:

    猜你喜欢
    • 2022-07-30
    • 2020-05-23
    • 2017-08-28
    • 2019-04-29
    • 2021-05-07
    • 2017-09-04
    • 2015-03-10
    • 2018-04-09
    • 2021-11-11
    相关资源
    最近更新 更多