public function main()
 {
     parent::main();
     $user = $this->getUserObj($this->user_name);
     if (isset($user) && $user instanceof NsmUser) {
         if ($user->user_authsrc !== 'internal') {
             throw new BuildException('Not an internal user! (user_authsrc=\'' . $user->user_authsrc . '\'');
         }
         if (strlen($this->password) < self::MIN_PASSWORD_LENGTH) {
             throw new BuildException('Password should be at least ' . self::MIN_PASSWORD_LENGTH . ' characters long!');
         }
         $user->updatePassword($this->password);
         $user->save();
         return true;
     } else {
         throw new BuildException('User \'' . $this->user_name . '\' not found!');
     }
 }
 public function main()
 {
     parent::main();
     AgaviToolkit::clearCache();
 }
 /**
  * Phing default entry poing
  */
 public function main()
 {
     parent::main();
     $this->cronkStructIterator();
 }