if (isInvalid(getUsername())) return INPUT; if (isInvalid(getPassword())) return INPUT; return SUCCESS;
return password;
return username;
return (value == null || value.length() == 0);
this.password = password;
this.username = username;