> I am trying to subclass a base servlet that handles authentication, to make
> sure that any servlet that subclasses the base servlet is forced to log in
> if a session object is not found. Can anyone give me an example, even a very
> general one? I have tried to do this previously, but the way I did it was to
> pass the HttpServlet Request, Response, and my session object to an
> authentication method in my base class. This meant that I had to call the
> authentication method in my doGet, doPost for every servlet. I want do find
> a way to do this automatically, so there is no chance of forgetting to put
> that call to the base class in. Thanks!

a much more intelligent method for handling security than subclassing the
authentication servlet is documented in my Dash framework...

<http://www.working-dogs.com/dash/>

-jon

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to