Revision history for Perl extension Catalyst::Model::DBIC::Schema
+ - Move documentation on setting up authentication into its own section
+ for clarity.
+ - Other misc documentation enhancements to make the docs more clear
+ about the important things to know.
+ - Convert Authentication Plugin configuration example to new style.
0.30 Sun Oct 18 01:35:36 EDT 2009
- change no sources error to a warning (with a way to turn it off)
...
- __PACKAGE__->config->{authentication} =
- {
+ __PACKAGE__->config('Plugin::Authentication' =>
+ {
default_realm => 'members',
- realms => {
- members => {
- credential => {
- class => 'Password',
- password_field => 'password',
- password_type => 'hashed'
- password_hash_type => 'SHA-256'
- },
- store => {
- class => 'DBIx::Class',
- user_model => 'DB::User',
- role_relation => 'roles',
- role_field => 'rolename',
- }
+ members => {
+ credential => {
+ class => 'Password',
+ password_field => 'password',
+ password_type => 'hashed'
+ password_hash_type => 'SHA-256'
+ },
+ store => {
+ class => 'DBIx::Class',
+ user_model => 'DB::User',
+ role_relation => 'roles',
+ role_field => 'rolename',
}
}
- };
+ });
=head1 SEE ALSO