docs: protected void addUser(UaaUser user) {
          ScimUser scimUser = getScimUser(user);
          if (scimUser==null) {
              if (isEmpty(user.getPassword()) && user.getOrigin().equals(OriginKeys.UAA)) {
                  logger.debug("User's password cannot be empty");
                  throw new InvalidPasswordException("Password cannot be empty", BAD_REQUEST);
              }
              createNewUser(user);
          }
          else {
              if (override) {
                  updateUser(scimUser, user);
              } else {
                  logger.debug("Override flag not set. Not registering existing user: " + user);
              }
          }
      }