Ticket #75 (closed task: fixed)

Opened 4 months ago

Last modified 4 months ago

Re-introduce "servlet-filters"

Reported by: StephanSchmidt Assigned to: MartinLeidig
Priority: major Milestone: 0.13.2
Component: Core (general) Version: 0.13.0
Keywords: Cc:

Description

Pre-Spring versions of Pustefix allowed you to register context aware servelet filters per servlet. As Pustefix 0.13.x is based upon Spring MVC, this is no longer possible nor useful.

Still, this functionality is required and must be implemented in a way that fits the Spring MVC architecture, possibly by adding a configuration option for handler interceptors.

Change History

09/05/08 12:22:07 changed by SebastianMarsching

  • status changed from new to closed.
  • resolution set to fixed.

Servlet filters can still be used (using the new configuration format), however they cannot easily access application objects.

Therefore I added support for Spring's HandlerInterceptor concept: Now, you can just add a bean implementing HandlerInterceptor or WebRequestInterceptor in to your project's spring.xml and the interceptor will be automatically triggered on each request.