Re: Suggestions

Chris Nokleberg <chris-k7PiZI/[email protected]> Thu, 2 Jan 2003 21:16:54 -0800
Newsgroups gmane.comp.java.securityfilter.user
Message-ID <20030103051654.GC16236@shorty>
On Fri, Jan 03, 2003 at 12:08:31AM -0500, Robert Ellis Parrott wrote:
> On Thu, 2 Jan 2003, Chris Nokleberg wrote:
> > Working around conformance bugs is going to keep you awake at
> > nights. IMHO you'd be much better served by taking the high road and
> > following the spec.
> 
> I can't agree with this, especially if you want your project to actually
> be used by a significant audience. A good bit of implementing on real
> platforms if making your code resilent to imperfections in the platforms.
> This normalization approach makes good sense; assuming (or forcing) that
> everyone is using an update-to-date and bug-free platform doesn't.
> 
> Of course, you can't anticipate all problems/bugs, and have to draw a line
> somewhere, but a little defensive driving like this does make sense.

You can't assume that every server is going to normalize in the same way
either. Maybe you should specify in the securityfilter xml which server
you're using, and it can choose the appropriate hack.

Anyway, I'll send a sample war file tomorrow to illustrate my experience
with it working correctly in the latest tomcat release.

-Chris


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf