diff --git a/include/password-methods/class_password-methods-crypt.inc b/include/password-methods/class_password-methods-crypt.inc index 46664dc083543e702db37e3a867011e376cc7af1..7c99e7b94b36155e4cdf57ddec73e6fc9428eb32 100644 --- a/include/password-methods/class_password-methods-crypt.inc +++ b/include/password-methods/class_password-methods-crypt.inc @@ -53,16 +53,6 @@ class passwordMethodCrypt extends passwordMethod } } - /*! - * \brief Create template hash - * - * \param string $attrs - */ - function create_template_hash($attrs) - { - return $this->generate_hash('N0T$3T4N0W').'N0T$3T4N0W'; - } - /*! * \brief Generate template hash * diff --git a/include/password-methods/class_password-methods.inc b/include/password-methods/class_password-methods.inc index 736436b18d083728f2d53fad67a274492133aa73..46b2f7413b6af610d192d66467b99a80640b0985 100644 --- a/include/password-methods/class_password-methods.inc +++ b/include/password-methods/class_password-methods.inc @@ -44,20 +44,6 @@ class passwordMethod { } - /*! - * \brief Create a template hash - * - * \param $attrs Attr - */ - function create_template_hash($attrs) - { - if ($this->get_hash_name() == "") { - return "{crypt}N0T$3T4N0W"; - } else { - return '{'.$this->get_hash().'}'.'N0T$3T4N0W'; - } - } - /*! * \brief Get the Hash name */ @@ -260,15 +246,6 @@ class passwordMethod { } - /*! - * \brief Method to let passwords backends manage additional information - * besides the userAttribute entry - */ - function set_password($password) - { - return TRUE; - } - /*! * \brief Method to check if a password matches a hash */ @@ -381,16 +358,6 @@ class passwordMethod return $this->hash; } - /*! - * Get the current object - * - * \param string $dn The DN - */ - function adapt_from_template($attrs) - { - return $this; - } - /*! * \brief Test for problematic unicode caracters in password * This can be activated with the keyword strictPasswordRules in the