From ef74d501d20287a4c1613b2ccc3aa49f134ae1f6 Mon Sep 17 00:00:00 2001 From: "johannes.guenther" Date: Thu, 26 Mar 2020 23:53:19 +0100 Subject: [PATCH] some cleanup regarding ssl config --- .../main/java/de/coronavirus/imis/config/SecurityConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/de/coronavirus/imis/config/SecurityConfig.java b/server/src/main/java/de/coronavirus/imis/config/SecurityConfig.java index e49c80a3..173c8149 100644 --- a/server/src/main/java/de/coronavirus/imis/config/SecurityConfig.java +++ b/server/src/main/java/de/coronavirus/imis/config/SecurityConfig.java @@ -25,6 +25,9 @@ protected void configure(HttpSecurity http) throws Exception { http.requiresChannel() .antMatchers("/actuator/health").requiresInsecure() - .anyRequest().requiresSecure(); + .anyRequest() + .requiresSecure(); + http.authorizeRequests().antMatchers("/**").permitAll() + .and().httpBasic().disable(); } }