In section https://docs.spring.io/spring-security/site/docs/5.4.5/reference/html5/#servlet-authentication-jdbc-bean in Example 69. JdbcUserDetailsManager forgot the return statement.
Comment From: eleftherias
Thanks for the report @IvanAgafonov! Are you interested in submitting a pull request to fix it?