On Apr 24, 2007, at 12:18 AM, Brigham Stevens wrote:
I meant to say implement Authentication ("Login", not logging) in the
filterchain... This would be before the ExecutorFilter (which is last) and will be making DB requests... Those requests could potentially block the IOProcessor thread because those filters are running in it. So I didn't really think it would be a good idea to implement authentication in a Filter as the FAQ suggests. It is working fine in my IoHandler, I just have a few
more states in it.

You can put auth in a filter, just make sure the filter is *after* the ExecutorFilter..

Always good to factor things out of the IoHandler where possible and leveraging the filter chain for a nice modular design :)

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to