Exemple #1
0
 public function setPasswordObject(Password $password)
 {
     $this->setNtPassword($password->getNtHash());
     $this->setLmPassword($password->getLmHash());
     $this->setCryptPassword($password->getCryptHash());
     $this->setUnixPassword($password->getUnixHash());
 }
Exemple #2
0
 public function setPassword(Password $password)
 {
     $this->setNtPassword($password->getNtHash());
     $this->setLmPassword($password->getLmHash());
     $this->setCryptPassword($password->getCryptHash());
     $this->setUnixPassword($password->getUnixHash());
     return $this->save();
 }