spring-cloud-samples / configserver

371 stars 394 forks source link

not secured? #8

Closed waffel closed 8 years ago

waffel commented 9 years ago

Hi,

I have cloned the project and started the service. But it is not secured per default (no http basic auth). But it is described in the README.md that this server is secured per default.

How can I enable the basic authentification (the bset would be only for the /admin mapping)?

Thanks

dsyer commented 8 years ago

You can enable basic auth by adding Spring Security to the classpath (per the Spring Boot docs). I'll fix the README, thanks.

dsyer commented 8 years ago

Actually it says in the README "The server is not secure by default". I guess it was already fixed.