I dont know about the book, <br><br>but this manual sure works and my opinion is its better than any book,  (find the authorization/authentication and compare what you missed)<br><br>the url should be <a href="http://search.cpan.org/~zarquon/Catalyst-Manual-5.8005/lib/Catalyst/Manual/Tutorial/01_Intro.pod">http://search.cpan.org/~zarquon/Catalyst-Manual-5.8005/lib/Catalyst/Manual/Tutorial/01_Intro.pod</a><br>
<br>att,<br><br>Hernan<br><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 2:09 PM, Ben Lavery <span dir="ltr">&lt;<a href="mailto:ben.lavery@gmail.com">ben.lavery@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear all,<br>
<br>
After installing Catalyst on an OpenIndiana virtual machine, I&#39;ve been working through the Definitive Guide to Catalyst for the last few weeks and have been impressed with how smoothly most of it has gone.<br>
<br>
I have, however, become unstuck at Chapter 6.  The book explains how to create an application that uses some simple CRUD with user and role data, and uses authentication to prevent users updating other user&#39;s data.<br>

I have a working application that allows one to create and read user data, but I can&#39;t figure out how to apply the authentication.  The book says:<br>
&quot;When using the Authentication plug-in, as we showed in Chapter 3...&quot;<br>
<br>
I&#39;ve gone back to Chapter 3 and followed the steps, but I&#39;m not sure where I am supposed to put the &quot;$c-&gt;authenticate&quot;.<br>
If I place it in DBAuthTest::Controller::Root in a subroutine called &quot;auto&quot;, every page on the site needs me to log in, but no matter what I put in the username and password fields it says that the data is invalid.<br>

As such I have no idea where I have gone wrong, after Googling I can&#39;t find similar problems, or people who have had similar problems or implemented a similar system in a similar way.<br>
I have looked at the source code provided on the publisher&#39;s site, but it doesn&#39;t include code for the whole chapter, and indeed seems to stop given code a page or two previous to where I am now...<br>
<br>
I have uploaded a copy of my application to <a href="http://hashbang0.com/personal/DBAuthTest.tar.bz2" target="_blank">http://hashbang0.com/personal/DBAuthTest.tar.bz2</a> (~46K) which I hope help demonstrate where I am currently.<br>

<br>
Many thanks for your time, I appreciate any help you can give,<br>
<font color="#888888"><br>
Ben Lavery<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">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>
</font></blockquote></div><br>