equal
deleted
inserted
replaced
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_Http |
17 * @subpackage Zend_Auth_Adapter_Http |
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: File.php 24593 2012-01-05 20:35:02Z matthew $ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** |
24 /** |
25 * @see Zend_Auth_Adapter_Http_Resolver_Interface |
25 * @see Zend_Auth_Adapter_Http_Resolver_Interface |
31 * HTTP Authentication File Resolver |
31 * HTTP Authentication File Resolver |
32 * |
32 * |
33 * @category Zend |
33 * @category Zend |
34 * @package Zend_Auth |
34 * @package Zend_Auth |
35 * @subpackage Zend_Auth_Adapter_Http |
35 * @subpackage Zend_Auth_Adapter_Http |
36 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
36 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @license http://framework.zend.com/license/new-bsd New BSD License |
37 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 */ |
38 */ |
39 class Zend_Auth_Adapter_Http_Resolver_File implements Zend_Auth_Adapter_Http_Resolver_Interface |
39 class Zend_Auth_Adapter_Http_Resolver_File implements Zend_Auth_Adapter_Http_Resolver_Interface |
40 { |
40 { |
41 /** |
41 /** |
47 |
47 |
48 /** |
48 /** |
49 * Constructor |
49 * Constructor |
50 * |
50 * |
51 * @param string $path Complete filename where the credentials are stored |
51 * @param string $path Complete filename where the credentials are stored |
52 * @return void |
|
53 */ |
52 */ |
54 public function __construct($path = '') |
53 public function __construct($path = '') |
55 { |
54 { |
56 if (!empty($path)) { |
55 if (!empty($path)) { |
57 $this->setFile($path); |
56 $this->setFile($path); |