Implementing Config Server and extending it

preview_player
Показать описание
Recorded at SpringOne Platform 2016.

Spring Cloud Config Server is a great tool for getting your application configuration under source control. We'll start with the quick overview of Spring's Environment and properties and how config server enhances those, while keeping the same model.

Next we'll discuss what concerns you need to take into account when rolling out config server like security, encryption, and location of your repositories (if using Git).

Finally we'll discuss Config Server's extensibility, particularly dealing with security (since config server serves up properties decrypted) and even going so far as adding 'Filtering' to allow for capability akin to CloudFoundry 'Services' for making shared configs that are available across many applications, even accounting for how you might test those extensions.
Рекомендации по теме
Комментарии
Автор

I am new to using config server for getting external configuration from Github repository. In my application.yml file of spring boot application I have used below piece of lines and it works fine when I comment JWT authentication part in my application, spring boot application can fetch updated configurations from github repository.

security: basic: enabled: false management: security: enabled: false

My question is what if I don't include above code in my yml file, will it work fine? because when i remove above lines, it throws 401 unauthorized error.

Second thing my spring boot application is secured with JWT authentication, when I enable my JWT authentication with yml file having above piece of code, then on providing valid token also it gives 403 forbidden error.

Someone please guide me how resolve this, I am trying to resolve this from last 1 week but no luck. Thanks in advance.

vivekbaranwal
welcome to shbcf.ru