1. Madhav · June 23, 2009

    Excellent Post Richard. Your comments explaining the crucial parts are very helpful. Look forward to your other posts. Please post the code if possible.

  2. Harshal · June 23, 2009

    Richard Knop,

    Thank You, for this greate Blog, very helpful for beginner’s in zend.
    Very nicely explained. I was beginner before reading this blog but after read this blog i am very comfortable with zend_auth, zend_acl.
    Will you please provide tutorial of zend_dojo_form, zend_ajax _form with image upload facility.

  3. Cage · June 23, 2009


    Nice Post. Thanks you.

    Is a possible a help.

    I get a error:

    Uncaught exception ‘Zend_Exception’ with message ‘No entry is registered for key ‘auth” in Auth.php(18):
    $auth = Zend_Registry::getInstance()->get(‘auth’);


  4. Richard Knop · June 23, 2009

    Well, you probably need to add instance of Zend_Auth to Zend_Registry in the bootstrap file.

  5. Omar Juan · June 23, 2009

    Hey Richard,

    Thank you for the great post which is helping get started on Zend authentication and authorization. I see you make use of $this->_getTable(‘users’) to get the users model. I am unclear however how it interacts with Zend_Auth_Adapter during the authentication. Care to enlighten me?

  6. Richard Knop · June 23, 2009

    @Omar Juan It’s just my own method I defined to make my life easier. It finds and returns an instance of model class.

  7. Mihail Velikov · June 23, 2009

    Quite a nice article,

  8. Djamel · June 23, 2009

    you can put a zip of application example plz
    thank you

  9. cany · June 23


    wud like to know modifications in module.php and view folder for index.pthml code


  10. cany · June 23


    Fatal error: Class ‘Member\Controller\Zend_Registry’ not found in D:\Program Files\Zend\ZendServer\data\apps\http\__default__\MainModule\1.0.0\module\Member\src\Member\Controller\MemberController.php on line 33