[Catalyst] Announcement - New Authen/Authz plugins

Yuval Kogman nothingmuch at woobling.org
Wed Nov 9 09:19:59 CET 2005


Hi,

We also worked a lot on the authentication and authorization plugins
for catalyst.

The plan is outlined here:
	
	http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Plugin-Authentication/notes.pod

And these plugins are itching to be tested:

use Catalyst qw/
	# this is for the core authentication functionality, and
	# optional integration with sessions

	Authentication


	# this provides the $c->login method which verifies the user's
	# identity using a login/password pair
	
	Authentication::Credential::Password (part of the core plugin)


	# you need to choose a default store by using a store plugin
	# these are already written

	Authentication::Store::Minimal # useful for testing - very lightweight
	Authentication::Store::Htpasswd


	# This one is compatible with CDBI too. Right now this plugin is
	# heavily inspired by the old CDBI stuff.  This will change -
	# the current functionality will be in Store::DBIC::Simple,
	# while a more flexible one will be added in the future.
	
	Authentication::Store::DBIC


	# This plugin provides role based access controls

	Authorization::Roles

	# And here is a completely new plugin that lets you
	# declaratively restrict access to your controller space. See
	# it's test suite for examples.

	Authorization::ACL
/;

Note that the APIs are not as backwards compatible as the new session
stuff, so be sure to read the docs/code first if trying on an older
app.

You should use these plugins with Catalyst from trunk - I have not
yet tried them with 5.33.

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me tips over a cow: neeyah!!!!!!!!!!!!!!!!!!!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051109/a09cf6bd/attachment.pgp


More information about the Catalyst mailing list