import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import com.hantsylabs.restexample.springmvc.model.User;
import com.hantsylabs.restexample.springmvc.repository.UserRepository;
@Named
<BUG>public class SimpleUserDetailsServiceImpl implements UserDetailsService {
private static final Logger log = LoggerFactory
.getLogger(SimpleUserDetailsServiceImpl.class);</BUG>
@Inject
private UserRepository userRepository;

import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import com.hantsylabs.restexample.springmvc.model.User;
import com.hantsylabs.restexample.springmvc.repository.UserRepository;
@Named
public class SimpleUserDetailsServiceImpl implements UserDetailsService {
private static final Logger log = LoggerFactory.getLogger(SimpleUserDetailsServiceImpl.class);
@Inject
private UserRepository userRepository;
