public function authenticate() { $optionsRequired = array
('filename', 'realm', 'username', 'password'
);
foreach ($optionsRequired as $optionRequired) { if (null ===
$this->
{"_
$optionRequired"
}) { /**
* @see Zend_Auth_Adapter_Exception
*/
throw new Zend_Auth_Adapter_Exception("Option '
$optionRequired' must be set before authentication"
);
} } if (false
=== ($fileHandle = @
fopen($this->_filename, 'r'
))) { /**
* @see Zend_Auth_Adapter_Exception
*/
throw new Zend_Auth_Adapter_Exception("Cannot open '
$this->_filename' for reading"
);
} $id = "
$this->_username:
$this->_realm";