Thank you, that clarifies a lot!
However, I would like to know where you changed the identity of Zend_Auth?
E.g. what makes
$this->_auth->getIdentity()->getUser()->role;
possible?
I think that $identity->setUser(...) means that you use some class to store
identity-related information. Do use your own adapter for this?
Does this adapter store identity object into session auth storage and loads
it on next request?
But bootstrap above shows that
// Create auth object
$auth = Zend_Auth::getInstance();

So I need to subclass Zend_Auth to save some user-related information?

Thanks,

On 4/10/07, Simon Mundy <[EMAIL PROTECTED]> wrote:

My scheme is based on http://devzone.zend.com/node/view/id/1665 (which
seems broken now because last code fragment is incomplete) and I want to
store user's identity and all associated information in the session storage
as follows:


I'm going to rewrite it, but for now here's the original post in its
entirety:-

---

skipped


--
Alexander
http://www.alexatnet.com/ - Blog and CMS created with Zend Framework and
Ajax.

Reply via email to