1 package Catalyst::Authentication::Realm::Compatibility;
6 use base qw/Catalyst::Authentication::Realm/;
8 ## very funky - the problem here is that we can't do real realm initialization
9 ## but we need a real realm object to function. So - we kinda fake it - we
10 ## create an empty object -
12 my ($class, $realmname, $config, $app) = @_;
14 my $self = { config => $config };
17 $self->config->{'use_session'} = $app->config->{'Plugin::Authentication'}{'use_session'} || '1';
18 $self->name($realmname);
31 Catalyst::Authentication::Realm::Compatibility - Compatibility realm object
35 An empty realm object for compatibility reasons.
41 Returns a, basically empty, realm object.