@@ -0,0 +1,914 @@
+package de.springbootbuch.reactive.filmstore;%0A%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;%0Aimport org.springframework.security.core.userdetails.MapUserDetailsRepository;%0Aimport org.springframework.security.core.userdetails.User;%0Aimport org.springframework.security.core.userdetails.UserDetailsRepository;%0A%0A/**%0A * Part of springbootbuch.de.%0A *%0A * @author Michael J. Simons%0A * @author @rotnroll666%0A */%0A@Configuration%0A@EnableWebFluxSecurity%0Apublic class SecurityConfig %7B%0A%0A%09@Bean%0A%09public UserDetailsRepository userDetailsRepository() %7B%0A%09%09return new MapUserDetailsRepository(%0A%09%09%09User.withUsername(%22spring%22)%0A%09%09%09%09.password(%22boot%22)%0A%09%09%09%09.roles(%22USER%22)%0A%09%09%09%09.build(),%0A%09%09%09User.withUsername(%22michael%22)%0A%09%09%09%09.password(%22simons%22)%0A%09%09%09%09.roles(%22USER%22)%0A%09%09%09%09.build()%0A%09%09);%0A%09%7D%0A%7D%0A

Add security config