Tomas,<br><br>Here's the config section of the debug output:<br><br>do {<br> my $a = {<br> "Action::RenderView" => {<br> ignore_classes => [<br> "DBIx::Class::ResultSource::Table",<br>
"DBIx::Class::ResultSourceHandle",<br> "DateTime",<br> ],<br> scrubber_func => sub { "???" },<br>
},<br> "Plugin::Authentication" => {<br> default_realm => "dbic",<br> realms => {<br> dbic => {<br> credential => {<br> class => "Password",<br>
password_field => "password",<br> password_hash_type => "SHA-1",<br> password_type => "hashed",<br> },<br>
store => {<br> class => "DBIx::Class",<br> "ignore_fields_in_find" => [],<br> role_field => "role",<br>
role_relation => "roles",<br> store_user_class => "Catalyst::Authentication::Store::DBIx::Class::User",<br> user_class => "myappDB::Users",<br>
},<br> use_session => 1,<br> },<br> },<br> use_session => 1,<br> },<br> "Plugin::ConfigLoader" => {},<br>
authentication => 'fix',<br> "custom-error-messsage" => { "error-template" => "<a href="http://internal_error.tt">internal_error.tt</a>", "view-name" => "TToolkit" },<br>
email => ["Sendmail"],<br> home => "/home/.avis/username/<a href="http://domainname.com/myapp">domainname.com/myapp</a>",<br> name => "myapp",<br> require_ssl => { no_cache => 0, remain_in_ssl => 1 },<br>
root => bless({<br> dirs => [<br> "",<br> "home",<br> ".avis",<br> "username",<br> "<a href="http://domainname.com">domainname.com</a>",<br>
"myapp",<br> "root",<br> ],<br> file_spec_class => undef,<br> volume => "",<br> }, "Path::Class::Dir"),<br>
session => {<br> cookie_name => "myapp_session",<br> expires => 7200,<br> storage => "/tmp/myapp/session_data",<br> verify_address => 0,<br>
},<br> stacktrace => { context => 3, verbose => 0 },<br> static => {<br> debug => 1,<br> dirs => [],<br> ignore_dirs => [],<br> ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"],<br>
include_path => ['fix'],<br> mime_types => {},<br> mime_types_obj => bless({}, "MIME::Types"),<br> no_logs => 1,<br> },<br> test_mode => 1,<br>
};<br> $a->{authentication} = $a->{"Plugin::Authentication"};<br> $a->{static}{include_path}[0] = $a->{root};<br> $a;<br>}<br><br>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)?<br>
<br>Once again I appreciate the help!<br><br clear="all">Collin Condray<br><a href="http://condray.net">condray.net</a><br>
<br><br><div class="gmail_quote">On Wed, Apr 8, 2009 at 7:26 AM, Tomas Doran <span dir="ltr"><<a href="mailto:bobtfish@bobtfish.net">bobtfish@bobtfish.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Collin Condray wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As J. has requested here are the relevant parts of my configuration files:<br>
</blockquote>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
'Session::Store::FastMmap',<br>
</blockquote>
<br>
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)?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
name myapp<br>
<authentication><br>
default_realm dbic<br>
<realms><br>
<dbic><br>
<credential><br>
</blockquote></div>
<snip><div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</credential><br>
<store><br>
# Use DBIC to retrieve username, password & role information<br>
class DBIx::Class<br>
</blockquote></div>
<snip><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</store><br>
</dbic><br>
</realms><br>
</authentication><br>
<br><div class="im">
The error message that is now showing up in my logs is: "No Store specified for realm "dbic", using the Null store."<br>
</div></blockquote>
<br>
Hmm, this all looka correct to my eyes, however Catalyst seemingly isn't seeing that config correctly.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Thanks again for the responses. Again, please let me know if there's any other information I can provide.<br>
</blockquote>
<br></div>
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..<br>
<br>
Cheers<br>
t0m<br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br>