Great example on how to do security with apikey and webflux.
I have followed your example, but then using maven, using dependencies spring-boot-starter-webflux and spring-boot-starter-security.
However, when I run the application, I get the following error message:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method managementSecurityFilterChain in org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration required a bean of type 'org.springframework.security.config.annotation.web.builders.HttpSecurity' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.security.config.annotation.web.builders.HttpSecurity' in your configuration.
Great example on how to do security with apikey and webflux. I have followed your example, but then using maven, using dependencies spring-boot-starter-webflux and spring-boot-starter-security. However, when I run the application, I get the following error message:
What am I missing here?