Revision history for Perl extension Catalyst::Plugin::Authentication
+ - Make auth_realms method ensure authentication is initialized
+ before calling methods which get created during auth initialization.
+ Fixes back compat cases where auth store is in the plugin list
+ before the authentication plugin. (t0m)
+
0.10013 Fri Jun 19 16:08:00 BST 2009
- Add a username_field config item to ::Credential::Remote
(Nigel Metheringham)
sub auth_realms {
my $self = shift;
+ $self->_authentication_initialize(); # Ensure _auth_realms created!
return($self->_auth_realms);
}
sub get_auth_realm {
my ($app, $realmname) = @_;
-
return $app->auth_realms->{$realmname};
-
}