spring-cloud-samples / configserver

377 stars 394 forks source link

How can I use spring-boot-starter-security to config configserver? #23

Closed wangchunself closed 5 years ago

wangchunself commented 5 years ago

First of all,I use springboot 2.1.0.RELEASE and springcloud Finchley.SR1 . According to Finchley.SR1 document,I add dependency spring-boot-starter-security and set spring.security.user.password . but,I can visit configServer,I can't get the authentication Page .

wangchunself commented 5 years ago

sorry,I find my error,I add dependency by a test scope,so My mistake