/** * {@inheritDoc} * * @param username the login name of the human * @return User the populated user object * @throws UsernameNotFoundException thrown when username not found */ public User getUserByUsername(String username) throws UsernameNotFoundException { return (User) userDao.loadUserByUsername(username); }