Tomas,

Here's the config section of the debug output:

do {
  my $a = {
    "Action::RenderView" => {
          ignore_classes => [
                              "DBIx::Class::ResultSource::Table",
                              "DBIx::Class::ResultSourceHandle",
                              "DateTime",
                            ],
          scrubber_func  => sub { "???" },
        },
    "Plugin::Authentication" => {
          default_realm => "dbic",
          realms => {
                dbic => {
                      credential => {
                            class => "Password",
                            password_field => "password",
                            password_hash_type => "SHA-1",
                            password_type => "hashed",
                          },
                      store => {
                            class => "DBIx::Class",
                            "ignore_fields_in_find" => [],
                            role_field => "role",
                            role_relation => "roles",
                            store_user_class =>
"Catalyst::Authentication::Store::DBIx::Class::User",
                            user_class => "myappDB::Users",
                          },
                      use_session => 1,
                    },
              },
          use_session => 1,
        },
    "Plugin::ConfigLoader" => {},
    authentication => 'fix',
    "custom-error-messsage" => { "error-template" => "internal_error.tt",
"view-name" => "TToolkit" },
    email => ["Sendmail"],
    home => "/home/.avis/username/domainname.com/myapp",
    name => "myapp",
    require_ssl => { no_cache => 0, remain_in_ssl => 1 },
    root => bless({
          dirs => [
                "",
                "home",
                ".avis",
                "username",
                "domainname.com",
                "myapp",
                "root",
              ],
          file_spec_class => undef,
          volume => "",
        }, "Path::Class::Dir"),
    session => {
          cookie_name    => "myapp_session",
          expires        => 7200,
          storage        => "/tmp/myapp/session_data",
          verify_address => 0,
        },
    stacktrace => { context => 3, verbose => 0 },
    static => {
          debug => 1,
          dirs => [],
          ignore_dirs => [],
          ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"],
          include_path => ['fix'],
          mime_types => {},
          mime_types_obj => bless({}, "MIME::Types"),
          no_logs => 1,
        },
    test_mode => 1,
  };
  $a->{authentication} = $a->{"Plugin::Authentication"};
  $a->{static}{include_path}[0] = $a->{root};
  $a;
}

So it looks like the Authentication plugin is loading and the default_realm
is dbic. Should I also be seeing something about the other
authentication/authorization plugins (i.e. Authorization::Roles,
Authorization::ACL)?

Once again I appreciate the help!

Collin Condray
condray.net


On Wed, Apr 8, 2009 at 7:26 AM, Tomas Doran <bobtf...@bobtfish.net> wrote:

> Collin Condray wrote:
>
>> As J. has requested here are the relevant parts of my configuration files:
>>
>
>     'Session::Store::FastMmap',
>>
>
> I'd be prepared to bet that the issue with C3 was related to an old version
> of this plugin. Upgrading this will have solved your issue, not DBIC or
> Class::C3(::XS)?
>
>
>> name myapp
>> <authentication>
>>    default_realm dbic
>>    <realms>
>>        <dbic>
>>            <credential>
>>
> <snip>
>
>>            </credential>
>>            <store>
>>                # Use DBIC to retrieve username, password & role
>> information
>>                class DBIx::Class
>>
> <snip>
>
>>            </store>
>>        </dbic>
>>    </realms>
>> </authentication>
>>
>> The error message that is now showing up in my logs is: "No Store
>> specified for realm "dbic", using the Null store."
>>
>
> Hmm, this all looka correct to my eyes, however Catalyst seemingly isn't
> seeing that config correctly.
>
>
>> Thanks again for the responses. Again, please let me know if there's any
>> other information I can provide.
>>
>
> If you start your app in debug mode, and append ?dump_info=1 to a request,
> then paste the 'config' part of the debug screen, that'll give us what
> Catalyst has actually loaded as the config - I guess that'll be different to
> what you _think_ Catalyst is loading as your config from your config file..
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to