why dont you use filters (standard) or valves (tomcat specific)

filip
----- Original Message -----
From: "Josh G" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 03, 2004 5:23 PM
Subject: Simple security - or "Why is HttpJspBase.service final?"


Is there any reason that HttpJspBase.service() is final, apart from to make
my life hard?

I'm trying to implement a _simple_ security system that intercepts requests
before they get to _jspService() so that if certain conditions aren't met,
a redirect occours instead. I don't want to use filters or anything like
that if I can avoid it because I want it to be simple to use and I want the
restrictions to be set in the page itself with the @page info= directive

Another thing that comes to mind, is that I assume that since service()
simply calls _jspService(), can a browser not perform a HEAD request to a
jsp page?

I don't particularly want to use a customised version of tomcat, even if
the only difference is removing one "final"... is there another way to get
around this limitation?

Cheers,
-Josh


          "He likes to run, And then the thing with the.. person..
                ... Oh boy, that monkey is going to pay."

            [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]

[ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to