This is an authentication adapter for the Zend Framework that provides authentication against a Joomla! user table. To use this code, extract the tar.gz archive into your library directory. The directory layout will be My > Auth > Adapter, with the Joomla.php file inside. Setup your adapter like this:

$authAdapter = new My_Auth_Adapter_Joomla( $db );
$authAdapter->setTableName(‘jos_users’);
$authAdapter->setIdentityColumn(‘username’);
$authAdapter->setCredentialColumn(‘password’);

Download: click here