Exemple #1
0
 public void setPassword(String password) {
   this.password = Utilities.encryptString(password);
 }
Exemple #2
0
 public User(String name, String password, String email) {
   this.name = name;
   this.password = password == null ? password : Utilities.encryptString(password);
   this.email = email;
 }