- 人工智能
使用 Spring Security 资源服务器来保护 Spring Cloud 微服务
时间:2010-12-5 17:23:32 作者:IT科技类资讯 来源:应用开发 查看: 评论:0
内容摘要:复制<dependency> <groupId>org.springframework.boot</groupId> &

使用
复制<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <!-- 资源服务器 --> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-oauth2-resource-server</artifactId> </dependency> <!-- jose --> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-oauth2-jose</artifactId> </dependency> 1.2.3.4.5.6.7.8.9.10.11.12.13.14.