public UserDetails loadUserByUsername(String id) throws UsernameNotFoundException {
		UserDetails user = registeredUsers.get(id);

		if (user == null) {
			throw new UsernameNotFoundException(id);
		}

		return user;
	}
public UserDetails loadUserByUsername(String id) throws UsernameNotFoundException {
		UserDetails user = registeredUsers.get(id);

		if (user == null) {
			throw new UsernameNotFoundException(id);
		}

		return user;
	}
public UserDetails loadUserByUsername ( String id ) throws UsernameNotFoundException { UserDetails user = registeredUsers . get ( id ) ; if ( user == null ) { throw new UsernameNotFoundException ( id ) ; } return user ; }
Implementation of {@code UserDetailsService}. We only need this to satisfy the
{@code RememberMeServices} requirements.
Implementation of {