Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Re: Looking for a working example using DBIC and Authentication

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


bobtfish at bobtfish

May 28, 2009, 6:08 AM

Post #1 of 2 (356 views)
Permalink
Re: Looking for a working example using DBIC and Authentication

Simon Baird wrote:
> [1] Well perhaps some details in brief note form...
> - The Authentication section of the Tutorial in CPAN uses some
> deprecated stuff (I find out eventually)
> - I got Auth working with DBIC as per the docs (with users, roles,
> user_roles tables) but without a realm. So I can use (the deprecated)
> $c->login but $c->authenticate doesn't work...
> - After decided I would give up and just keep using the $c->login I
> tried adding another table to my DBIC Schema. This caused Auth to stop
> working...

Hi.

The tutorial on CPAN hasn't used anything deprecated for a _long time_
as far as I can see.

It was recently (09th May) switched to use the newer
Catalyst::Authentication::Realm::SimpleDB, as this is easier to setup
for beginners, but previous to that it still used the 'new'
authentication setup.

Going back to Catalyst-Manual-5.701004 (released 09th April 2008 i.e.
over a year ago), the Authentication section of the tutorial is using
the 'new' authentication method.

Could you possibly review the latest version of the authentication
section in the tutorial, and send us some feedback about where it should
go into more detail, and what you think is confusing or missing? (Or, if
you think I'm full of lies, and it recommends deprecated things, please
point out where so I can LART myself).

I appreciate that you seem to be quite frustrated with your experience,
but I'd really like to (a) get you happy so that your app works as
expected with the recommended authentication stuff, (b) get this sorted
out so that nobody else goes down this path in future.

Thanks in advance.
t0m

_______________________________________________
List: Catalyst[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


simon.baird at gmail

May 28, 2009, 4:18 PM

Post #2 of 2 (299 views)
Permalink
Re: Looking for a working example using DBIC and Authentication [In reply to]

On Thu, May 28, 2009 at 11:08 PM, Tomas Doran <bobtfish[at]bobtfish.net> wrote:
> Simon Baird wrote:
>>
>> [1] Well perhaps some details in brief note form...
>> - The Authentication section of the Tutorial in CPAN uses some
>> deprecated stuff (I find out eventually)
>> - I got Auth working with DBIC as per the docs (with users, roles,
>> user_roles tables) but without a realm. So I can use (the deprecated)
>> $c->login but $c->authenticate doesn't work...
>> - After decided I would give up and just keep using the $c->login I
>> tried adding another table to my DBIC Schema. This caused Auth to stop
>> working...
>
> Hi.
>
> The tutorial on CPAN hasn't used anything deprecated for a _long time_ as
> far as I can see.
>
> It was recently (09th May) switched to use the newer
> Catalyst::Authentication::Realm::SimpleDB, as this is easier to setup for
> beginners, but previous to that it still used the 'new' authentication
> setup.
>
> Going back to Catalyst-Manual-5.701004 (released 09th April 2008 i.e. over a
> year ago), the Authentication section of the tutorial is using the 'new'
> authentication method.
>
> Could you possibly review the latest version of the authentication section
> in the tutorial, and send us some feedback about where it should go into
> more detail, and what you think is confusing or missing? (Or, if you think
> I'm full of lies, and it recommends deprecated things, please point out
> where so I can LART myself).
>
> I appreciate that you seem to be quite frustrated with your experience, but
> I'd really like to (a) get you happy so that your app works as expected with
> the recommended authentication stuff, (b) get this sorted out so that nobody
> else goes down this path in future.
>
> Thanks in advance.
> t0m
>

Thanks for the advice. I might start fresh and see if I can pinpoint
where things went wrong.

Simon.

--
simon.baird[at]gmail.com

_______________________________________________
List: Catalyst[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.