Re: [Catalyst] using legacy auth stores with new auth system
On Mon, Feb 04, 2008 at 06:35:12PM +, Carl Franks wrote: Can the old Catalyst::Plugin::Authentication::Store::* modules be used with the new Catalyst::Authentication system? I can't see anything in the docs or list archive about how to set this in the configuration - and it looks like only 'Authentication' should be listed in the Cat plugin import list. Don't the docs say it'll search the old namespace if it can't find anything in the new one? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk/servers/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] using legacy auth stores with new auth system
On 05/02/2008, Matt S Trout [EMAIL PROTECTED] wrote: On Mon, Feb 04, 2008 at 06:35:12PM +, Carl Franks wrote: Can the old Catalyst::Plugin::Authentication::Store::* modules be used with the new Catalyst::Authentication system? I can't see anything in the docs or list archive about how to set this in the configuration - and it looks like only 'Authentication' should be listed in the Cat plugin import list. Don't the docs say it'll search the old namespace if it can't find anything in the new one? I just came across LCatalyst::Plugin::Authentication/COMPATIBILITY ROUTINES a couple of minutes ago. I can use the old store package, but have to use the old auth methods, and I lose the new realms feature. Rather than use the legacy features on a new app, I'm just going to write a new Htpasswd store that uses the new auth API. Thanks, Carl ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] using legacy auth stores with new auth system
Can the old Catalyst::Plugin::Authentication::Store::* modules be used with the new Catalyst::Authentication system? I can't see anything in the docs or list archive about how to set this in the configuration - and it looks like only 'Authentication' should be listed in the Cat plugin import list. I'm wanting to add auth to an existing app that currently doesn't use any auth or sessions yet - and I'd be wanting to use Catalyst::Plugin::Authentication::Store::Htpasswd I notice all the plugin::* modules in the new Catalyst::Authentication dist are just wrappers around the newer modules. Would I need to create a Catalyst::Authentication::Store::Htpasswd that's just a wrapper around the older module? (or, ideally, the other way around, if the current maintainer is agreeable). Carl ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/