@@ -0,0 +1,705 @@
+package de.springbootbuch.reactive.filmstore;%0A%0Aimport java.util.Optional;%0Aimport org.springframework.security.core.userdetails.User;%0Aimport org.springframework.security.core.userdetails.UserDetails;%0Aimport org.springframework.security.core.userdetails.UserDetailsRepository;%0Aimport reactor.core.publisher.Mono;%0A%0A/**%0A * Part of springbootbuch.de.%0A * %0A * @author Michael J. Simons%0A * @author @rotnroll666%0A */%0Apublic class UserDetailsRepositoryImpl %0A%09implements UserDetailsRepository %0A%7B%0A%09@Override%0A%09public Mono%3CUserDetails%3E findByUsername(%0A%09%09String username%0A%09) %7B%0A%09%09return Mono.justOrEmpty(%0A%09%09%09Optional.ofNullable(%0A%09%09%09%09%22tina%22.equals(username) ? %0A%09%09%09%09%09User.withUsername(%22tina%22).build() : %0A%09%09%09%09%09null)%0A%09%09);%0A%09%7D%0A%7D%0A

Add example impl