[Catalyst-commits] r6318 - branches/Catalyst-Plugin-Authentication
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Thu Apr 26 20:14:11 GMT 2007
Author: bricas
Date: 2007-04-26 20:14:11 +0100 (Thu, 26 Apr 2007)
New Revision: 6318
Added:
branches/Catalyst-Plugin-Authentication/Makefile.PL
Removed:
branches/Catalyst-Plugin-Authentication/Build.PL
Modified:
branches/Catalyst-Plugin-Authentication/Changes
branches/Catalyst-Plugin-Authentication/README
Log:
switch to Module::Install
Deleted: branches/Catalyst-Plugin-Authentication/Build.PL
===================================================================
--- branches/Catalyst-Plugin-Authentication/Build.PL 2007-04-26 18:20:25 UTC (rev 6317)
+++ branches/Catalyst-Plugin-Authentication/Build.PL 2007-04-26 19:14:11 UTC (rev 6318)
@@ -1,18 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'traditional',
- license => 'perl',
- module_name => 'Catalyst::Plugin::Authentication',
- requires => {
- 'perl' => '5.8.1',
- 'Catalyst' => '5.49',
- 'Class::Inspector' => 0,
- 'Catalyst::Plugin::Session' => '0.10',
- },
- create_readme => 1,
- sign => 1,
-);
-$build->create_build_script;
-
Modified: branches/Catalyst-Plugin-Authentication/Changes
===================================================================
--- branches/Catalyst-Plugin-Authentication/Changes 2007-04-26 18:20:25 UTC (rev 6317)
+++ branches/Catalyst-Plugin-Authentication/Changes 2007-04-26 19:14:11 UTC (rev 6318)
@@ -1,16 +1,19 @@
Revision history for Perl extension Catalyst::Plugin::Authentication
-0.09999_01
+XXX 2007-04-26
+ - switch to Module::Install
+
+0.09999_01 2007-02-21
- major changes to the internals of the plugin, to better encapsulate
credentials and stores.
- introduction of 'realms' concept, allowing multiple different
pairs of credential and store in a single application.
-0.09
+0.09 2006-08-01
- be a bit more pedantic about checking values for definedness before
invoking methods on them
-0.08
+0.08 2006-07-29
- factor test applications out to files due to changes in Catalyst::Test
- don't load session at prepare time unless necessary
Added: branches/Catalyst-Plugin-Authentication/Makefile.PL
===================================================================
--- branches/Catalyst-Plugin-Authentication/Makefile.PL (rev 0)
+++ branches/Catalyst-Plugin-Authentication/Makefile.PL 2007-04-26 19:14:11 UTC (rev 6318)
@@ -0,0 +1,13 @@
+use inc::Module::Install 0.65;
+
+name 'Catalyst-Plugin-Authentication';
+all_from 'lib/Catalyst/Plugin/Authentication.pm';
+
+perl_version '5.8.1';
+
+requires 'Catalyst::Runtime';
+requires 'Class::Inspector';
+requires 'Catalyst::Plugin::Session' => '0.10';
+
+auto_install;
+WriteAll;
Modified: branches/Catalyst-Plugin-Authentication/README
===================================================================
--- branches/Catalyst-Plugin-Authentication/README 2007-04-26 18:20:25 UTC (rev 6317)
+++ branches/Catalyst-Plugin-Authentication/README 2007-04-26 19:14:11 UTC (rev 6318)
@@ -151,7 +151,7 @@
}
}
};
-
+
This tells the authentication plugin what realms are available, which
credential and store modules are used, and the configuration of each.
With this code loaded, we can now attempt to authenticate users.
@@ -296,23 +296,20 @@
authserver => '192.168.10.17'
}
}
-
- }
+
+ }
};
- use_session
-
+ use_session
Whether or not to store the user's logged in state in the session,
if the application is also using Catalyst::Plugin::Session. This
value is set to true per default.
- default_realm
-
+ default_realm
This defines which realm should be used as when no realm is provided
to methods that require a realm such as authenticate or find_user.
- realms
-
+ realms
This contains the series of realm configurations you want to use for
your app. The only rule here is that there must be at least one. A
realm consists of a name, which is used to reference the realm, a
@@ -393,8 +390,8 @@
get_auth_realm ( $realmname )
Retrieves the realm instance for the realmname provided.
+ *
-
SEE ALSO
This list might not be up to date. Below are modules known to work with
the updated API of 0.10 and are therefore compatible with realms.
@@ -503,11 +500,3 @@
reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
-POD ERRORS
- Hey! The above document had some coding errors, which are explained
- below:
-
- Around line 672:
- You can't have =items (as at line 706) unless the first thing after
- the =over is an =item
-
More information about the Catalyst-commits
mailing list