diff --git a/services/submission/src/main/java/app/coronawarn/server/services/submission/ServerApplication.java b/services/submission/src/main/java/app/coronawarn/server/services/submission/ServerApplication.java index 85a63e9ecd..d16a2a2357 100644 --- a/services/submission/src/main/java/app/coronawarn/server/services/submission/ServerApplication.java +++ b/services/submission/src/main/java/app/coronawarn/server/services/submission/ServerApplication.java @@ -25,6 +25,7 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; +import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.Bean; @@ -32,7 +33,7 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.http.converter.protobuf.ProtobufHttpMessageConverter; -@SpringBootApplication +@SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class}) @EnableJpaRepositories(basePackages = "app.coronawarn.server.common.persistence") @EntityScan(basePackages = "app.coronawarn.server.common.persistence") @ComponentScan({"app.coronawarn.server.common.persistence",