一、引入依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
二、pom.xml配置
spring.security.user.name=test
spring.security.user.password=123
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
spring.security.user.name=test
spring.security.user.password=123
本文标题:Eureka-001、开启安全连接
本文链接:https://www.haomeiwen.com/subject/skilzktx.html
网友评论