Peter,
Thanks! DING! I see the light. 

# -----Original Message-----
# From: peter royal [mailto:[EMAIL PROTECTED] 
# Sent: Tuesday, April 24, 2007 11:06 PM
# To: [email protected]
# Subject: Re: Authentication filter
# 
# 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
# 
# 
# 
# 

Reply via email to