Re: [Catalyst] Catalyst with HTTP authentication

2013-03-11 Thread Tim Anderson
Ditto. I am also using Catalyst::Authentication::Credential::Remote, and it is working just fine. -Tim On Mon, Mar 11, 2013 at 9:37 AM, Lukas Thiemeier spamcatc...@thiemeier.netwrote: From reading the docs, I don't see why Catalyst::Authentication::Store::Htpasswd and

Re: [Catalyst] Catalyst with Twiggy with Pocket.IO (Comet)

2012-11-28 Thread Tim Anderson
I also faced this problem, and what I did to resolve it was move the authentication piece out to Apache (from my Catalyst application), and then used the Catalyst::Authentication::Credential::Remote module to 'use' what Apache is doing for me. Once the auth config is in Apache, you can use it to

[Catalyst] Catalyst and Java

2012-10-31 Thread Tim Anderson
I have a handful of java servlets that I would like to 'front-end' with my Catalyst application, essentially using Catalyst to provide authentication/authorization before passing along the browser requests to the servlet. I don't need session information in the servlet, and I'm willing to leave

Re: [Catalyst] Catalyst and Java

2012-10-31 Thread Tim Anderson
at 12:22 PM, Ashley Pond V a...@sedition.com wrote: On Wed, Oct 31, 2012 at 8:41 AM, Devin Austin devin.aus...@gmail.com wrote: On Wed, Oct 31, 2012 at 3:50 AM, Tim Anderson tja...@gmail.com wrote: I have a handful of java servlets that I would like to 'front-end' with my Catalyst

Re: [Catalyst] I'm loosing the plot here? - Controller behaviour that makes no sense

2012-10-30 Thread Tim Anderson
Craig, Might I suggest following Lukas' advice from yesterday and working through the tutorial before building your own site. Catalyst is a great framework but it's not trivial, and I had several of the same kinds of questions when I first started out. I clued in on your 'when neither output

Re: [Catalyst] The Definitive Guide to Catalyst ... p. 165 listing all users and their roles

2012-07-11 Thread Tim Anderson
li[% role.role.role %]/li works because you're accessing the role name (the third 'role') through the 'role' accessor (the second 'role') which is defined in your many-to-many relationship: __PACKAGE__-many_to_many(roles, user_roles, *role*); This is one of the beauties of DBIC; as soon as you

Re: [Catalyst] The Definitive Guide to Catalyst ... p. 165 listing all users and their roles

2012-07-11 Thread Tim Anderson
the many_to_Many examples in the book to help my real problem in a test application I am trying to work on. I guess I should start a new thread for questions related to that. I will do that and try to continue understanding the relationships. Thanks RJ On Wed, Jul 11, 2012 at 12:48 PM, Tim Anderson

Re: [Catalyst] Using Progressive realms when username and password fields are all different

2012-06-28 Thread Tim Anderson
Gavin, Assuming you are using the Authentication plugin, you can define multiple realm objects, each of which allows you to specify the columns to be used for username and password. The documentation is pretty good on this one, and it's working well for me.

Re: [Catalyst] Using Progressive realms when username and password fields are all different

2012-06-28 Thread Tim Anderson
That keys in the hash reference you are passing to the authenticate function should match the keys in your CcAgent model, plus the password field you defined in your config... something like this: # Attempt to log the user in if ( $c-authenticate( {

[Catalyst] create_related is failing on second time through loop?

2012-06-19 Thread Tim Anderson
Greetings, I've been working with Catalyst for about 2 months, and up until yesterday I was feeling pretty good about my proficiency... long way to go, though. I have been doing my development in a VirtualBox VM on my workstation and arrived at a point where I wanted to move my application to

Re: [Catalyst] create_related is failing on second time through loop?

2012-06-19 Thread Tim Anderson
Thanks for your response Robert. The value when it crashes is valid. In the case of the example I posted, two roles were being inserted: 1 and 20. This is the log text: [debug] Creating new role: $VAR1 = '1'; [debug] Creating new role: $VAR1 = '20'; The '1' record made it into the database,