Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Peter Stavrinides
" To: "Tapestry users" Sent: Wednesday, 11 February, 2009 17:57:20 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: IoC question - introducing a time delay in an ASO Peter Stavrinides wrote: > I use an ASO as a token when signing users in, I use this small method > to

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Joachim Van der Auwera
Peter Stavrinides wrote: I use an ASO as a token when signing users in, I use this small method to introduce a time delay (if there are multiple failed attempts, I increase the delay): It would be an option to store server side when a person/system is allowed another try to login and assure all

RE: IoC question - introducing a time delay in an ASO

2009-02-11 Thread James Sherwood
e.hal...@gmail.com] Sent: February-11-09 10:32 AM To: Tapestry users Subject: Re: IoC question - introducing a time delay in an ASO What happens in a clustered environment? Tapestry services aren't part of normal HTTP session clustering. Olle 2009/2/11 Thiago H. de Paula Figueiredo > O

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Peter Stavrinides
;Tapestry users" Sent: Wednesday, 11 February, 2009 15:07:33 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: RE: IoC question - introducing a time delay in an ASO Hello, I am not him:)(if that makes sense:) but I am doing the same thing right now. I am using the database not to slow c

RE: IoC question - introducing a time delay in an ASO

2009-02-11 Thread James Sherwood
._lastcheck = lastcheck; } } Thanks, --James -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: February-11-09 9:18 AM To: Tapestry users Subject: Re: IoC question - introducing a time delay in an ASO On Wed, Feb 11, 2009 at 11:16 AM, Ulrich Stärk wr

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Olle Hallin
What happens in a clustered environment? Tapestry services aren't part of normal HTTP session clustering. Olle 2009/2/11 Thiago H. de Paula Figueiredo > On Wed, Feb 11, 2009 at 11:16 AM, Ulrich Stärk wrote: > > Something like a singleton tapestry service with an access-synchronized > map >

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Thiago H. de Paula Figueiredo
On Wed, Feb 11, 2009 at 11:16 AM, Ulrich Stärk wrote: > Something like a singleton tapestry service with an access-synchronized map > inside maybe? That's what I'd do. James: sorry for mistaking your message as someone else's. :) -- Thiago --

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Ulrich Stärk
thiag...@gmail.com] Sent: February-11-09 8:52 AM To: Tapestry users Subject: Re: IoC question - introducing a time delay in an ASO On Wed, Feb 11, 2009 at 10:46 AM, James Sherwood wrote: Hello, Hi! Doesn't most dictionary style attacks create a new request each time therefore creating

RE: IoC question - introducing a time delay in an ASO

2009-02-11 Thread James Sherwood
reate an application wide map(object) in T5? Sorry for kind of hijacking your thread Peter:) --James -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: February-11-09 8:52 AM To: Tapestry users Subject: Re: IoC question - introducing a time delay in a

RE: IoC question - introducing a time delay in an ASO

2009-02-11 Thread James Sherwood
Paula Figueiredo [mailto:thiag...@gmail.com] Sent: February-11-09 8:14 AM To: Tapestry users Subject: Re: IoC question - introducing a time delay in an ASO On Wed, Feb 11, 2009 at 9:49 AM, Peter Stavrinides wrote: > I use an ASO as a token when signing users in, I use this small method to int

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Thiago H. de Paula Figueiredo
On Wed, Feb 11, 2009 at 10:46 AM, James Sherwood wrote: > Hello, Hi! > Doesn't most dictionary style attacks create a new request each time > therefore creating a new ASO? Kind of like closing your browser and > reopening it each time? They are done by bots (programs), not people, so I guess yo

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Thiago H. de Paula Figueiredo
On Wed, Feb 11, 2009 at 9:49 AM, Peter Stavrinides wrote: > I use an ASO as a token when signing users in, I use this small method to > introduce a time delay (if there are multiple failed attempts, I increase the > delay): Your code doesn't delay the ASO, it delays the request processing. ;) I

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Peter Stavrinides
ry users" Sent: Wednesday, 11 February, 2009 13:04:17 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: IoC question - introducing a time delay in an ASO On Wed, Feb 11, 2009 at 8:25 AM, Peter Stavrinides wrote: > Hi everyone, Hi! > What are the effects of using T

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Thiago H. de Paula Figueiredo
On Wed, Feb 11, 2009 at 8:25 AM, Peter Stavrinides wrote: > Hi everyone, Hi! > What are the effects of using Thread.sleep(myInterval) in an ASO? My > understanding is that each user receives a separate instance of the ASO, but > not > necessarily on a separate thread, right? Each user receive

IoC question - introducing a time delay in an ASO

2009-02-11 Thread Peter Stavrinides
Hi everyone, What are the effects of using Thread.sleep(myInterval) in an ASO? My understanding is that each user receives a separate instance of the ASO, but not necessarily on a separate thread, right? If this is true then what happens after Thread.sleep is active, and the next user asks for