Merge branch '2.4.x'

Closes gh-24543
This commit is contained in:
Madhura Bhave
2020-12-16 14:58:29 -08:00
3 changed files with 86 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ public class ManagementWebSecurityAutoConfiguration {
requests.requestMatchers(EndpointRequest.to(HealthEndpoint.class, InfoEndpoint.class)).permitAll();
requests.anyRequest().authenticated();
});
http.cors();
http.formLogin(Customizer.withDefaults());
http.httpBasic(Customizer.withDefaults());
return http.build();