Reputation: 111
I have two micro client,they are both based on http basic security ,eurkea and spring cloud config(git repository). I want to use spring cloud bus through "/bus/refresh" to reload each application's configuration.
That is my problem.
Then I know "Because of the Spring Security dependency, HTTPS Basic authentication will also be enabled for Spring Boot Actuator endpoints. If you wish to disable that as well, you must also set the management.security.enabled property to false." from network when I search the that problem's answer.
And I do what above say. Add "management.security.enabled = false" to application.properties that is at a client application(port:1234).
Request method 'GET' not supported" on page!!!
who know!!!
Upvotes: 0
Views: 1791
Reputation: 637
According to source :
for this end point you need to use POST method. And if you want security you can use management.security.enabled and also have management endpoints on different port management.port - this will separate your management endpoints from the rest of the application.
Upvotes: 0