[Catalyst] Plugin::Authentication vs Authentiaction

Alex Povolotsky tarkhil at over.ru
Mon Nov 10 15:40:16 GMT 2008


John Romkey wrote:
> On Nov 10, 2008, at 8:46 AM, Alex Povolotsky wrote:
>>>
>>>
>> That's not enough. Apparently, Plugin::Authentication is different 
>> from Authentication, and slightly not compartible.
>
> Alex,
>
> The Authentication modules underwent a significant overhaul a while 
> back. In the old scheme, there were many authentication plugins. In 
> the new scheme, the only plugin is Catalyst::Plugin::Authentication
>
> There are a few Catalyst::Plugin::Authentication modules that provide 
> some backwards compatibility but I believe that at this point, 
> Catalyst::Plugin::Authentication::* is deprecated, and the older 
> Plugins likely won't work with the new scheme. So if you have the 
> choice between Catalyst::Authentication::something and 
> Catalyst::Plugin::Authentication::something, use the former and not 
> the later.
>
> In the new scheme, the storage and credential modules are brought in 
> through the configuration of Catalyst::Plugin::Authentication - take a 
> look at its documentation to see how this is done. They don't appear 
> in the plugin list at all, only Catalyst::Plugin::Authentication does
Thanks a lot, things become much less clear. Now, after some cleaning up 
of configs, everything gets loaded fine; however,

[debug] Unable to locate user matching user info provided

while realm has store of Null, and find_user has no ability to fail.

I'm trying to understand this.

Alex.




More information about the Catalyst mailing list