版本:
spring-boot:2.1.8
spring-security:5.1.6
security.basic.enabled=false属性过时,不能用
有2种方法:
第一种:在启动类添加
第二种:在yml里面自己设置username和password
版本:
spring-boot:2.1.8
spring-security:5.1.6
security.basic.enabled=false属性过时,不能用
有2种方法:
第一种:在启动类添加
第二种:在yml里面自己设置username和password