if (prefix.length() <= 2) {
// Let's avoid returning thousands of projects
return null;
}
KeystoneCliContext keystoneContext = (KeystoneCliContext) context;
UserDatabase userRepository = keystoneContext.getUserRepository();
List<String> userIds = userRepository.listAllProjectNames(prefix);
addSuffix(userIds, " ");
return userIds;
}