Re: [Catalyst] Catalyst and Taint?

2008-07-23 Thread Chris Weyl
On Tue, Jul 22, 2008 at 8:30 PM, Matt S Trout [EMAIL PROTECTED] wrote: On Mon, Jul 21, 2008 at 10:08:11PM -0700, Chris Weyl wrote: Hey all -- A google of catalyst taint turns up this message: http://lists.scsys.co.uk/pipermail/catalyst/2005-December/004007.html It doesn't look like there

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Peter Karman
On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based on the LDAP stuff. The LDAP modules didn't work for me because they want to bind

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Wade . Stuart
Peter Karman [EMAIL PROTECTED] wrote on 07/23/2008 08:29:42 AM: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based on the LDAP stuff. The

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Bruce J Keeler
Peter Karman wrote: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based on the LDAP stuff. The LDAP modules didn't work for me because they

[Catalyst] Preventing simultaneous logins

2008-07-23 Thread Daniel McBrearty
I'm using Cat with a pretty standard configuration of : Catalyst::Plugin::Authentication Catalyst::Plugin::Session Catalyst::Plugin::Session::State::Cookie Catalyst::Plugin::Session::Store::FastMmap to handle login and session management. My login code looks like this: my $u =

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Wade . Stuart
Bruce J Keeler [EMAIL PROTECTED] wrote on 07/23/2008 02:16:16 PM: Peter Karman wrote: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Jonathan Rockway
* On Wed, Jul 23 2008, Daniel McBrearty wrote: What I'd like to do is check if this user is already logged in at some other computer, and deny access if so. I would probably store sessions in the database, and then store the session ID in the user table at login time (current_session) or

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread J. Shirley
On Wed, Jul 23, 2008 at 1:12 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: * On Wed, Jul 23 2008, Daniel McBrearty wrote: What I'd like to do is check if this user is already logged in at some other computer, and deny access if so. I would probably store sessions in the database, and then

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Wade . Stuart
Daniel McBrearty [EMAIL PROTECTED] wrote on 07/23/2008 02:47:57 PM: I'm using Cat with a pretty standard configuration of : Catalyst::Plugin::Authentication Catalyst::Plugin::Session Catalyst::Plugin::Session::State::Cookie Catalyst::Plugin::Session::Store::FastMmap to handle login and

[Catalyst] Preventing simultaneous logins

2008-07-23 Thread emarkert
On Wed, Jul 23, 2008 at 09:47:57PM +0200, Daniel McBrearty wrote: And what happens if they never hit log out? Or if their browser crashes and then they try and log in again? If you really need this feature, try it the other way around: if someone logs in then you invalidate their first

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Tomas Doran
On 23 Jul 2008, at 21:20, [EMAIL PROTECTED] wrote: This is actually a pretty hard problem -- there is no right answer. What if the user clears her browser state while using the site? Leaves the computer and browser on at work then tries to log in at home on a different computer?

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Daniel McBrearty
indeed, it is use case dependent. The use case here is a common one, free content, paid content, you don't want users giving their creds to all their friends and using it simultaneously. (It is at best a first order solution, obviously if it becomes obvious that a fair percentage are using the

Re: [Catalyst] auto re-load of application yaml config file?

2008-07-23 Thread Pedro Melo
On Jul 23, 2008, at 4:32 AM, Matt S Trout wrote: On Tue, Jul 22, 2008 at 12:53:10PM +0200, Marc Sebastian Pelzer wrote: Hello, I'm running a Catalyst application under mod_perl and wonder if there is a Plugin available that detects changes on the main application .yml config file and does a

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Matt S Trout
On Wed, Jul 23, 2008 at 09:47:57PM +0200, Daniel McBrearty wrote: I'm using Cat with a pretty standard configuration of : Catalyst::Plugin::Authentication Catalyst::Plugin::Session Catalyst::Plugin::Session::State::Cookie Catalyst::Plugin::Session::Store::FastMmap to handle login and

Re: [Catalyst] Catalyst and Taint?

2008-07-23 Thread Matt S Trout
On Tue, Jul 22, 2008 at 11:45:09PM -0700, Chris Weyl wrote: On Tue, Jul 22, 2008 at 8:30 PM, Matt S Trout [EMAIL PROTECTED] wrote: On Mon, Jul 21, 2008 at 10:08:11PM -0700, Chris Weyl wrote: Hey all -- A google of catalyst taint turns up this message:

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Matt S Trout
On Wed, Jul 23, 2008 at 08:29:42AM -0500, Peter Karman wrote: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based on the LDAP stuff. The

Re: [Catalyst] auto re-load of application yaml config file?

2008-07-23 Thread Matt S Trout
On Wed, Jul 23, 2008 at 11:26:18PM +0100, Pedro Melo wrote: On Jul 23, 2008, at 4:32 AM, Matt S Trout wrote: On Tue, Jul 22, 2008 at 12:53:10PM +0200, Marc Sebastian Pelzer wrote: Hello, I'm running a Catalyst application under mod_perl and wonder if there is a Plugin available that