|
Re: Using Zend_Auth to retrieve a user's role to use in Zend_Acl: msg#00019php.zend.framework.auth
On 03/10/2007, Nathan Wright <thatnateguy-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
Nathan, I wasn't able to do that, because Zend_Auth::getInstance()->getIdentity() returns a string, not an object.
On 03/10/2007, David Mintz < david-dMffkYQFJ3MKxoK4Ny/0iQ@xxxxxxxxxxxxxxxx> wrote:
Of course, I was being extremely stupid. Instead of returning: new Zend_Auth_Result(Zend_Auth_Result::SUCCESS, $this->_username); I also could've returned new Zend_Auth_Result(Zend_Auth_Result::SUCCESS, $user); // Where $user is an array including the role and username Problem solved! -- Vincent |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using Zend_Auth to retrieve a user's role to use in Zend_Acl: 00019, Nathan Wright |
|---|---|
| Next by Date: | Re: Kerberos / SPNEGO / Active Directory Adapters: 00019, Michael B Allen |
| Previous by Thread: | Re: Using Zend_Auth to retrieve a user's role to use in Zend_Acli: 00019, Nathan Wright |
| Next by Thread: | Kerberos / SPNEGO / Active Directory Adapters: 00019, Michael B Allen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |