n about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Can servlet filter be applied to a method of a Java Bean
Date: Mon, 22 Sep 2003 10:33:32 -0500
: The problems are:
: 1. Can a filter be applied to a method of a Java Bean?
: The problems are:
: 1. Can a filter be applied to a method of a Java Bean?
Not directly, no.
Servlet filters may only be applied to web requests, either URL patterns
like "/protected/*" or file-extension patterns such as "/*.do".
Try not to think of protecting methods, but protecting procedure
HI,
I am new here and I would like to implement the access control concern as a
filter.
There are serveral methods like read(...), insert(...), update(...),
delete(...) in a Java bean. I want the access control checking is performed
right before the execution of each of these methods.
The problems