anchor.diff:  }
   -----
   
  +.Kotlin
  +[source,kotlin,role="secondary"]
  +-----
  +@EnableWebFluxSecurity
  +class HelloWebfluxSecurityConfig {
  +
  +    @Bean
  +    fun userDetailsService(): ReactiveUserDetailsService {
  +        val userDetails = User.withDefaultPasswordEncoder()
  +                .username("user")
  +                .password("user")
  +                .roles("USER")
  +                .build()
  +        return MapReactiveUserDetailsService(userDetails)
  +    }
  +}
  +-----
  +====
  +
   This configuration provides form and http basic authentication, sets up authorization to require an authenticated user for accessing any page, sets up a default log in page and a default log out page, sets up security related HTTP headers, CSRF protection, and more.
   
   == Explicit WebFlux Security Configuration
   
   You can find an explicit version of the minimal WebFlux Security configuration below:
   
  -[source,java]
  +.Explicit WebFlux Security Configuration
  +====
  +.Java
  +[source,java,role="primary"]
   -----
   @Configuration
   @EnableWebFluxSecurity
  
positive.code: }
  -----
  
  This configuration explicitly sets up all the same things as our minimal configuration.
  From here you can easily make the changes to the defaults.
  
negative.code: 
  You can find a minimal WebFlux Security configuration below:
  
  .Minimal WebFlux Security Configuration
  ====
  .Java
  [source,java,role="primary"]
  -----
  
  @EnableWebFluxSecurity
  