[Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

J. Shirley jshirley at gmail.com
Mon May 10 00:07:13 GMT 2010

On May 9, 2010, at 4:49 PM, Paul Makepeace wrote:

> I'm puzzled with this warning since there's nothing I can see in the
> docs of the latest version that suggests we should be using another
> module (cf. Catalyst::Plugin::Authentication::Store::DBIC which is
> very clear). What's the story here? What's the best course of action
> for Catalyst authentication?
> (Yuval pointed me at another module at YAPC::NA last year but that
> conversion got shelved & I've forgotten the details now...)
> Thanks,
> Paul

It's moderately confusing, so don't feel bad but you can certainly provide some doc patches to make it more clear.

Specifically, what you are looking at is the authentication modules and not *the* authentication plugin.

Catalyst::Plugin::Authentication is the right module to use.

The old Store and Credential modules were under Catalyst::Plugin::Authentication but current modules are under the Catalyst::Authentication namespace.

So, what you should do is install Catalyst::Authentication::Store::DBIx::Class (and preferably uninstall the deprecated Catalyst::Plugin::Authentication::Store::DBIC version).

That should fix up any issue you have with using ::NEXT.

(For the record, the deprecation notice points which module you should be using but doesn't explain why: http://search.cpan.org/~mstrout/Catalyst-Plugin-Authentication-Store-DBIC-0.11/lib/Catalyst/Plugin/Authentication/Store/DBIC.pm#DEPRECATED)

Hope this helps,

More information about the Catalyst mailing list