We will be creating a new configuration class for Spring Security: SpringSecurityWebFluxConfig. Firstly, we will annotate the class with the most important annatation: @EnableWebFluxSecurity. This instructs it to enable Spring Security for WebFlux web applications. In the configuration class, we will look at two important beans, as follows.