Commit bf05c496 authored by Côme Chilliet's avatar Côme Chilliet Committed by Mortier Benoit
Browse files

Removed unused stuff from password methods

Showing with 0 additions and 43 deletions
+0 -43
......@@ -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
*
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment