setPassword(newPass);
}
- private void setPassword(String newPass) throws GigiApiException {
+ public void setPassword(String newPass) throws GigiApiException {
Name[] names = getNames();
TreeSet<String> nameParts = new TreeSet<>();
for (int i = 0; i < names.length; i++) {
return false;
}
+ if ( !Contract.hasSignedContract(this, Contract.ContractType.RA_AGENT_CONTRACT)) {
+ return false;
+ }
+
return hasPassedCATS();
}
return false;
}
+ public boolean isValidNameVerification(String name) {
+ for (Name n : getNames()) {
+ if (n.matches(name) && n.isValidVerification()) {
+ return true;
+ }
+ }
+ return false;
+ }
+
public void updateDefaultEmail(EmailAddress newMail) throws GigiApiException {
for (EmailAddress email : getEmails()) {
if (email.getAddress().equals(newMail.getAddress())) {