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

2012-11-29 Thread Jaro Zajonc
I use SSL for authentification only. Rest is plain http. Maybe I might consider using SSL for comet feed Thanks for suggestion. On 29 November 2012 05:35, Bill Moseley mose...@hank.org wrote: On Wed, Nov 28, 2012 at 4:21 AM, Jaro Zajonc jaro.zaj...@gmail.comwrote: But if I direct

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

2012-11-28 Thread Tomas Doran
On 27 Nov 2012, at 20:11, Jaroslav Zajonc wrote: Hi all, I'd like to enable my Catalyst based (FastCGI) application to support a Comet (Long polling) service with help of Twiggy - Pocket.IO (or Stardust like) server. Now, for my Comet server I still want to use Catalyst app for

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

2012-11-28 Thread Jaro Zajonc
But if I direct traffic from Apache directly to Twiggy server I'd bypass Catalyst Authentication/Authorization part for Comet session, right? I'd like to allow only authenticated users to subscribe to comet channel. I am sure I am missing some really simple piece of the puzzle :-\ br, Jaro On 28

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

2012-11-28 Thread Gabriel Andrade
On Nov 28, 2012, at 9:21 AM, Jaro Zajonc jaro.zaj...@gmail.com wrote: But if I direct traffic from Apache directly to Twiggy server I'd bypass Catalyst Authentication/Authorization part for Comet session, right? I'd like to allow only authenticated users to subscribe to comet channel. I am

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

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

2012-11-28 Thread Jaroslav Zajonc
Hi all, Thanks a lot for all your suggestions. Yu helped me a lot. thnx, Jaro On Nov 28, 2012, at 4:38 PM, Tim Anderson tja...@gmail.com wrote: 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

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

2012-11-28 Thread Bill Moseley
On Wed, Nov 28, 2012 at 4:21 AM, Jaro Zajonc jaro.zaj...@gmail.com wrote: But if I direct traffic from Apache directly to Twiggy server I'd bypass Catalyst Authentication/Authorization part for Comet session, right? I'd like to allow only authenticated users to subscribe to comet channel. I

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

2012-11-27 Thread Jaroslav Zajonc
Hi all, I'd like to enable my Catalyst based (FastCGI) application to support a Comet (Long polling) service with help of Twiggy - Pocket.IO (or Stardust like) server. Now, for my Comet server I still want to use Catalyst app for Authorization/Authentification and proxy only allowed user to