Great. It works.

Thanks a lot.


Darby Felton wrote:
> 
> Hello,
> 
> What you're attempting to achieve should be possible with something like
> the following:
> 
> Zend_Auth::getInstance()
>          ->setStorage(new Zend_Auth_Storage_Session('myCustomNameSpace'));
> 
> Hope this helps!
> 
> Best regards,
> Darby
> 
> mysticav wrote:
>> By default the Authentification is stored in "Zend_Auth" namespace.
>> 
>> How can I provide another when calling the authenticate method?
>> 
>> $auth->authenticate(new Security_MyAuthAdapter('foo','bar'));
>> 
>> I'm expecting something like:
>> $auth->authenticate(new
>> Security_MyAuthAdapter('foo','bar'),'myCustomNameSpace');
>> 
>> 
>> 
>> Any idea ?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-change-the-default-%22Zend_Auth%22-Namespace-tf3416360s16154.html#a9521306
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to