> What I like with you're solution is exactly this, the user experience isn't changed > in any way (except the optional per-port chains feature). > But I'm getting a bit worried that it could become hard to maintain for the Mina developers?
Im going to start implementing it this evening. If it turns out to be complex, Im going to ditch it for now and take the simpler approach where filters get inited multiple times for each session chain they live in. > One thing that has struck me is that it might actually be more intuitive from a user perspective > that session.getFilterChain() always returns the entire chain for the user to modify. But maybe that's just me. I agree. The proposed "smart-NextFilter" approach and the simple building per session approach would do exactly this: The user always sees the whole "logical" chain which applies to their session > /Niklas Dave This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
