I use doctrine for authentication in zend framework 2.

I have to make a plugin for the acl but I can not use the $this->identity() 
that I use inside the controller that returns me an Entity object 
(Account\Entity\Account) when they are authenticated.


If i use this code:
if ($auth->hasIdentity()) {
            $identity = $auth->getIdentity();

in aclplugin print_r($identity) return

[id]

I get the user_type to implement acl

There is a tutorial on how to do this?

thanks ;)

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to