[Catalyst-commits] r6561 - trunk/Catalyst-Plugin-Authentication
matthewt at dev.catalyst.perl.org
matthewt at dev.catalyst.perl.org
Tue Jul 17 17:59:18 GMT 2007
Author: matthewt
Date: 2007-07-17 17:59:18 +0100 (Tue, 17 Jul 2007)
New Revision: 6561
Added:
trunk/Catalyst-Plugin-Authentication/Makefile.PL
Removed:
trunk/Catalyst-Plugin-Authentication/Build.PL
Modified:
trunk/Catalyst-Plugin-Authentication/
trunk/Catalyst-Plugin-Authentication/Changes
trunk/Catalyst-Plugin-Authentication/README
Log:
r42033 at cain (orig r6318): bricas | 2007-04-26 19:14:11 +0000
switch to Module::Install
Property changes on: trunk/Catalyst-Plugin-Authentication
___________________________________________________________________
Name: svk:merge
- 4ad37cd2-5fec-0310-835f-b3785c72a374:/branches/Catalyst-Plugin-Authentication:6285
+ 4ad37cd2-5fec-0310-835f-b3785c72a374:/branches/Catalyst-Plugin-Authentication:6318
Deleted: trunk/Catalyst-Plugin-Authentication/Build.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Build.PL 2007-07-17 16:59:13 UTC (rev 6560)
+++ trunk/Catalyst-Plugin-Authentication/Build.PL 2007-07-17 16:59:18 UTC (rev 6561)
@@ -1,19 +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',
- 'Tie::RefHash' => '1.35',
- },
- create_readme => 1,
- sign => 1,
-);
-$build->create_build_script;
-
Modified: trunk/Catalyst-Plugin-Authentication/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Changes 2007-07-17 16:59:13 UTC (rev 6560)
+++ trunk/Catalyst-Plugin-Authentication/Changes 2007-07-17 16:59:18 UTC (rev 6561)
@@ -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: trunk/Catalyst-Plugin-Authentication/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Makefile.PL (rev 0)
+++ trunk/Catalyst-Plugin-Authentication/Makefile.PL 2007-07-17 16:59:18 UTC (rev 6561)
@@ -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: trunk/Catalyst-Plugin-Authentication/README
===================================================================
--- trunk/Catalyst-Plugin-Authentication/README 2007-07-17 16:59:13 UTC (rev 6560)
+++ trunk/Catalyst-Plugin-Authentication/README 2007-07-17 16:59:18 UTC (rev 6561)
@@ -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