Announcement Announcement Module
Collapse
No announcement yet.
Multiple web.FilterSecurityInterceptor-s per filter Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple web.FilterSecurityInterceptor-s per filter

    Hi,

    we are appling Acegi security to large Spring-Struts web based application.

    There are several modules which have its own spring context and struts xml configuration files. We would like each module also have a dedicated acegi security xml file that will contain method invocation and url security declarations.

    Is to possible to specify several FilterSecurityInterceptors ( one for each module ) and apply for SecurityEnforcementFilter ?

    Thanks.

  • #2
    Yes, you can have multiple SecurityEnforcementFilers in your IoC context. You could either chain all of them in web.xml, or simply rely on distinct filter-mapping declarations for each module.

    The FilterToBeanProxy accepts a targetBean initialization parameter, which can be used to diffferentiate the various SecurityEnforcementFilter instances.

    Comment

    Working...
    X