title: How to get userDetailsService in SpringBoot
body: <p>Hi i tried to get <em>userDetailsService</em> with <em>InMemoryDao</em>. But i can't get it, i tried <em>@Autowired</em>, @Inject (<em>UserDetailsService</em>, <em>InMemoryDaoImpl</em>, <em>InMemoryManager</em>...) but cant get this working. </p>
  
  <p>Have <strong>public class Security  extends WebSecurityConfigurerAdapter</strong> and <strong>public class GlobalSecurity extends GlobalAuthenticationConfigurerAdapter.</strong> </p>
  
  <p>Tried with only WebSecurityConfigurerAdapter with all four <em>@Enable</em>...
  Can some help me to solve this, i need to use <em>loadUserByUsername</em>()?</p>