It looks like the problem is resolved. I upgraded to the latest version of
Catalyst and Authentication/Authorization started working normally. Funny
how that happens.

Thanks for the follow up. I appreciate it!

Collin Condray
condray.net


On Tue, May 12, 2009 at 7:28 AM, <[email protected]> wrote:

> Hello, Collin
>
>  I have the same configuration and output of the Catalyst config too!
>
> My problem is a bit different. I could login but the accounts that have
> 'admin' roles would never get detected of the 'admin' role.
>
>  How are you doing with this issue?
>
>
> Guys, please comment.
>
>  Thank you:)
>
> K. akimoto
>
>
> Quoting Collin Condray <[email protected]>:
>
> > 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,
>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to