if (str.length() == 0) {
continue;
}
String username = str;
UserDTO userDto = userConnector.findByUsername(username,
ScopeHolder.getUserRepoRef());
if (userDto == null) {
messageHelper.addMessage(model, str + " is not exists.");
logger.info("{} is not exists", str);
} else {
UserStatus userStatus = authService.createOrGetUserStatus(
username, userDto.getId(),
ScopeHolder.getUserRepoRef(),
ScopeHolder.getScopeId());
try {
userStatusChecker.check(userStatus);