I have this situation when I want to make custom UserDetailsService class in Spring Security I faced a problem without solving all the time searched a lot in google and more