web/lib/Zend/Auth/Adapter/Ldap.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Auth
    16  * @package    Zend_Auth
    17  * @subpackage Zend_Auth_Adapter
    17  * @subpackage Zend_Auth_Adapter
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Ldap.php 24618 2012-02-03 08:32:06Z sgehrig $
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @see Zend_Auth_Adapter_Interface
    24  * @see Zend_Auth_Adapter_Interface
    25  */
    25  */
    27 
    27 
    28 /**
    28 /**
    29  * @category   Zend
    29  * @category   Zend
    30  * @package    Zend_Auth
    30  * @package    Zend_Auth
    31  * @subpackage Zend_Auth_Adapter
    31  * @subpackage Zend_Auth_Adapter
    32  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    32  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    33  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    33  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    34  */
    34  */
    35 class Zend_Auth_Adapter_Ldap implements Zend_Auth_Adapter_Interface
    35 class Zend_Auth_Adapter_Ldap implements Zend_Auth_Adapter_Interface
    36 {
    36 {
    37 
    37 
    74      * Constructor
    74      * Constructor
    75      *
    75      *
    76      * @param  array  $options  An array of arrays of Zend_Ldap options
    76      * @param  array  $options  An array of arrays of Zend_Ldap options
    77      * @param  string $username The username of the account being authenticated
    77      * @param  string $username The username of the account being authenticated
    78      * @param  string $password The password of the account being authenticated
    78      * @param  string $password The password of the account being authenticated
    79      * @return void
       
    80      */
    79      */
    81     public function __construct(array $options = array(), $username = null, $password = null)
    80     public function __construct(array $options = array(), $username = null, $password = null)
    82     {
    81     {
    83         $this->setOptions($options);
    82         $this->setOptions($options);
    84         if ($username !== null) {
    83         if ($username !== null) {